public interface IDynamicRemapper
| 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.
A new type can be returned to let the default remapper handle the remapping. If the return value is null or RemapType.DYNAMIC the default remapper will be skipped. |
@Nullable 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)
null or RemapType.DYNAMIC the default remapper will be skipped.mapper - 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