Class CompareIdentityExpression

  • All Implemented Interfaces:
    org.objectweb.asm.Opcodes

    public class CompareIdentityExpression
    extends BinaryExpression
    implements org.objectweb.asm.Opcodes
    Compares two objects using identity comparison. This expression will generate bytecode using the IF_ACMPNE instruction, instead of using the "equals" method that is currently mapped to "==" in Groovy. This expression should only be used to compare to objects, not primitives, and only in the context of reference equality check.