Class StaticCompilationMopWriter
java.lang.Object
org.codehaus.groovy.classgen.asm.MopWriter
org.codehaus.groovy.classgen.asm.sc.StaticCompilationMopWriter
A MOP Writer that skips the generation of MOP methods. This writer is used
when a class is *fully* statically compiled. In mixed mode, MOP methods are
still generated.
- Since:
- 2.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.groovy.classgen.asm.MopWriter
MopWriter.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MopWriter.FactoryFactory for statically compiled MOP writers.Fields inherited from class org.codehaus.groovy.classgen.asm.MopWriter
controller -
Constructor Summary
ConstructorsConstructorDescriptionCreates a MOP writer for fully statically compiled classes. -
Method Summary
Modifier and TypeMethodDescriptionvoidGenerates MOP methods for the current class.Methods inherited from class org.codehaus.groovy.classgen.asm.MopWriter
equalParameterTypes, generateMopCalls, getMopMethodName, isMopMethod
-
Field Details
-
FACTORY
Factory for statically compiled MOP writers.
-
-
Constructor Details
-
StaticCompilationMopWriter
Creates a MOP writer for fully statically compiled classes.
-
-
Method Details
-
createMopMethods
public void createMopMethods()Generates MOP methods for the current class.- Overrides:
createMopMethodsin classMopWriter
-