[Java] Class MapConstructorASTTransformation
- org.codehaus.groovy.transform.MapConstructorASTTransformation
- All Implemented Interfaces and Traits:
- CompilationUnitAware
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION) public class MapConstructorASTTransformation extends AbstractASTTransformation implements CompilationUnitAware
Handles generation of code for the
- MapConstructor:
- annotation.
Fields inherited from class | Fields |
---|---|
class AbstractASTTransformation | RETENTION_CLASSNODE, sourceUnit |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public String |
getAnnotationName() | |
protected SourceUnit |
getSourceUnit() | |
protected SourceUnit |
getSourceUnit() | |
public void |
setCompilationUnit(CompilationUnit unit) | |
public Expression |
transform(Expression exp) | |
public void |
visit(ASTNode[] nodes, SourceUnit source) | |
public void |
visitVariableExpression(VariableExpression expression) |
Inherited Methods Summary
Method Detail
@Override public String getAnnotationName()
@Override protected SourceUnit getSourceUnit()
@Override protected SourceUnit getSourceUnit()
@Override public void setCompilationUnit(CompilationUnit unit)
@Override public Expression transform(Expression exp)
public void visit(ASTNode[] nodes, SourceUnit source)
@Override public void visitVariableExpression(VariableExpression expression)
© 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/MapConstructorASTTransformation.html