[Java] Class StaticCompileTransformation
- org.codehaus.groovy.transform.sc.StaticCompileTransformation
Handles the implementation of the CompileStatic transformation.
- Authors:
- Cedric Champeau
Fields inherited from class | Fields |
---|---|
class StaticTypesTransformation | STATIC_ERROR_PREFIX, compilationUnit |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected StaticTypeCheckingVisitor |
newVisitor(SourceUnit unit, ClassNode node) | |
void |
visit(ASTNode[] nodes, SourceUnit source) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class StaticTypesTransformation | addTypeCheckingExtensions, newVisitor, setCompilationUnit, visit |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
@Override protected StaticTypeCheckingVisitor newVisitor(SourceUnit unit, ClassNode node)
@Override public void visit(ASTNode[] nodes, SourceUnit source)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/transform/sc/StaticCompileTransformation.html