code: public static InsnList ifIntegersEqual(InsnList lhs, InsnList rhs, InsnList action) {
          Validate.notNull(lhs);
          Validate.notNull(rhs);
          Validate.notNull(action);
          
          
          InsnList ret = new InsnList();
          
          LabelNode notEqualLabelNode = new LabelNode();
          
          ret.add(lhs);
          ret.add(rhs);
          ret.add(new JumpInsnNode(Opcodes.IF_ICMPNE, notEqualLabelNode));
          ret.add(action);
          ret.add(notEqualLabelNode);
          
          return ret;
      }
docs: Compares two integers and performs some action if the integers are equal.
  @param lhs left hand side instruction list -- must leave an int on the stack
  @param rhs right hand side instruction list -- must leave an int on the stack
  @param action action to perform if results of {@code lhs} and {@code rhs} are equal
  @return instructions instruction list to perform some action if two ints are equal
  @throws NullPointerException if any argument is {@code null}