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