@ParametersAreNonnullByDefault public class NewTarget extends java.lang.Object implements IInjectionTarget
Opcodes.NEW instructions.java/lang/String| Constructor and Description |
|---|
NewTarget() |
| Modifier and Type | Method and Description |
|---|---|
RemapType |
dynamicRemap(AMapper mapper,
java.lang.Class<?> annotation,
java.util.Map<java.lang.String,java.lang.Object> values,
java.lang.reflect.Method remappedMethod,
TransformerManager transformerManager,
org.objectweb.asm.tree.ClassNode target,
org.objectweb.asm.tree.ClassNode transformer)
Remap the annotation fields dynamically.
|
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, waitgetShift, 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 annotation@Nullable public RemapType dynamicRemap(AMapper mapper, java.lang.Class<?> annotation, java.util.Map<java.lang.String,java.lang.Object> values, java.lang.reflect.Method remappedMethod, TransformerManager transformerManager, org.objectweb.asm.tree.ClassNode target, org.objectweb.asm.tree.ClassNode transformer)
IDynamicRemappernull or RemapType.DYNAMIC the default remapper will be skipped.dynamicRemap in interface IDynamicRemapperdynamicRemap in interface IInjectionTargetmapper - The mapper instanceannotation - The annotation classvalues - The raw values of the annotationremappedMethod - The annotation method that is being remappedtransformerManager - The transformer managertarget - The transformer target classtransformer - The transformer class