[Java] Class NewifyASTTransformation
- org.codehaus.groovy.transform.NewifyASTTransformation
- All Implemented Interfaces and Traits:
- ASTTransformation
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class NewifyASTTransformation extends ClassCodeExpressionTransformer
Handles generation of code for the @Newify
AST transform.
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected SourceUnit |
getSourceUnit() | |
Expression |
transform(Expression expr) | |
void |
visit(ASTNode[] nodes, SourceUnit source) |
Inherited Methods Summary
Method Detail
protected SourceUnit getSourceUnit()
public Expression transform(Expression expr)
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/NewifyASTTransformation.html