The DEFAULT comparator however, considers two instructions to be equal if they have same opcode and point to the same indexes (if any) in the constant pool or the same local variable index. Branch instructions must have the same target.
Instruction
Modifier and Type | Field and Description |
---|---|
public static final InstructionComparator |
Modifier and Type | Method and Description |
---|---|
public boolean |
DEFAULT | back to summary |
---|---|
public static final InstructionComparator DEFAULT |
equals | back to summary |
---|---|
public boolean equals(Instruction i1, Instruction i2) |