public interface IInjectionTarget
| Modifier and Type | Method and Description |
|---|---|
default CTarget.Shift |
getShift(CTarget target)
Get the shift for this target.
|
default java.util.List<org.objectweb.asm.tree.AbstractInsnNode> |
getSlice(java.util.Map<java.lang.String,IInjectionTarget> injectionTargets,
org.objectweb.asm.tree.MethodNode method,
CSlice slice)
Get all instructions in the given slice.
|
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.
|
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)
default CTarget.Shift getShift(CTarget target)
CTarget annotation.target - The CTarget annotationdefault java.util.List<org.objectweb.asm.tree.AbstractInsnNode> getSlice(java.util.Map<java.lang.String,IInjectionTarget> injectionTargets, org.objectweb.asm.tree.MethodNode method, CSlice slice)
injectionTargets - All existing injection targetsmethod - The method to search inslice - The CSlice annotationjava.lang.IllegalArgumentException - If the slice is invalid