Groovy 2.2.0

org.codehaus.groovy.transform
[Java] Class AnnotationCollectorTransform.ClassChanger

java.lang.Object
  org.codehaus.groovy.transform.AnnotationCollectorTransform.ClassChanger

public static class AnnotationCollectorTransform.ClassChanger

Class used by 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 well

Authors:
Jochen "blackdrag" Theodorou


Method Summary
void transformClass(ClassNode cn)

Method to transform the given ClassNode, if it is annotated with AnnotationCollector.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

transformClass

public void transformClass(ClassNode cn)
Method to transform the given ClassNode, if it is annotated with AnnotationCollector. See class description for what the transformation includes.


 

Copyright © 2003-2013 The Codehaus. All rights reserved.