/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }
/** * Returns an instance that is just like this one, except that its * opcode has the opposite sense (as a test; e.g. a * {@code lt} test becomes a {@code ge}), and its branch * target is replaced by the one given, and all set-once values * associated with the class (such as its address) are reset. * * @param target {@code non-null;} the new branch target * @return {@code non-null;} an appropriately-constructed instance */ public TargetInsn withNewTargetAndReversed(CodeAddress target) { Dop opcode = getOpcode().getOppositeTest(); return new TargetInsn(opcode, getPosition(), getRegisters(), target); }