public static class AnnotationCollectorTransform.ClassChanger extends Object
CompilationUnit
to transform the alias class
into what is needed by the compiler. This means removing invalid
modifiers, interfaces and superclasses, as well as adding a static
value method returning our serialized version of the data for processing
from a precompiled state. By doing this the old annotations will be
removed as wellConstructor and Description |
---|
AnnotationCollectorTransform.ClassChanger() |
Modifier and Type | Method and Description |
---|---|
void |
transformClass(ClassNode cn)
Method to transform the given ClassNode, if it is annotated with
AnnotationCollector . |
public AnnotationCollectorTransform.ClassChanger()
public void transformClass(ClassNode cn)
AnnotationCollector
. See class description for what the
transformation includes.