@ParametersAreNonnullByDefault public class ReturnTarget extends java.lang.Object implements IInjectionTarget
Opcodes.RETURN instructions.CInject the original return value is accessible using the InjectionCallback.| Constructor and Description |
|---|
ReturnTarget() |
| Modifier and Type | Method and Description |
|---|---|
CTarget.Shift |
getShift(CTarget target)
Get the shift for this target.
|
java.util.List<org.objectweb.asm.tree.AbstractInsnNode> |
getTargets(java.util.Map<java.lang.String,IInjectionTarget> injectionTargets,
org.objectweb.asm.tree.MethodNode method,
CTarget target,
CSlice slice)
Get all matching target instructions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdynamicRemap, getSlicepublic java.util.List<org.objectweb.asm.tree.AbstractInsnNode> getTargets(java.util.Map<java.lang.String,IInjectionTarget> injectionTargets, org.objectweb.asm.tree.MethodNode method, CTarget target, @Nullable CSlice slice)
IInjectionTargetgetTargets in interface IInjectionTargetinjectionTargets - All existing injection targetsmethod - The method to search intarget - The CTarget annotationslice - The CSlice annotationpublic CTarget.Shift getShift(CTarget target)
IInjectionTargetCTarget annotation.getShift in interface IInjectionTargettarget - The CTarget annotation