public class CASMAnnotationHandler extends RemovingAnnotationHandler<CASM>
CASM annotation.| Constructor and Description |
|---|
CASMAnnotationHandler(CASM.Shift shift) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute(CASM annotation)
Check if the transformer should be executed.
|
void |
transform(CASM annotation,
TransformerManager transformerManager,
org.objectweb.asm.tree.ClassNode transformedClass,
org.objectweb.asm.tree.ClassNode transformer,
org.objectweb.asm.tree.MethodNode transformerMethod)
Handle a transformer method of the transformer with the given annotation.
|
transformgetAnnotation, getAnnotation, getAnnotation, getAnnotation, prepareForCopy, renameAndCopypublic CASMAnnotationHandler(CASM.Shift shift)
public void transform(CASM annotation, TransformerManager transformerManager, org.objectweb.asm.tree.ClassNode transformedClass, org.objectweb.asm.tree.ClassNode transformer, org.objectweb.asm.tree.MethodNode transformerMethod)
RemovingAnnotationHandlertransform in class RemovingAnnotationHandler<CASM>annotation - The annotation of the transformer methodtransformerManager - The transformer managertransformedClass - The target class nodetransformer - The transformer class nodetransformerMethod - The method node of the transformerpublic boolean shouldExecute(CASM annotation)
RemovingAnnotationHandlershouldExecute in class RemovingAnnotationHandler<CASM>annotation - The annotation of the transformer