[Java] Class StaticCompileTransformation
- org.codehaus.groovy.transform.sc.StaticCompileTransformation
Handles the implementation of the CompileStatic transformation.
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 |
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.5.14/html/gapi/org/codehaus/groovy/transform/sc/StaticCompileTransformation.html