[Java] Class AutoFinalASTTransformation

  • org.codehaus.groovy.transform.AutoFinalASTTransformation
@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)
public class AutoFinalASTTransformation
extends AbstractASTTransformation

Handles generation of code for the AutoFinal annotation.

Method Detail

protected SourceUnit getSourceUnit()

public void visit(ASTNode[] nodes, SourceUnit source)

@Override public void visitClosureExpression(ClosureExpression expression)

@Override protected void visitConstructorOrMethod(MethodNode node, boolean isConstructor)

@Override public void visitDeclarationExpression(DeclarationExpression expr)

@Override public void visitField(FieldNode node)

© 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/AutoFinalASTTransformation.html