groovy / 4.0 / org / codehaus / groovy / transform / tupleconstructorasttransformation.html

[Java] Class TupleConstructorASTTransformation

  • org.codehaus.groovy.transform.TupleConstructorASTTransformation
All Implemented Interfaces and Traits:
CompilationUnitAware, TransformWithPriority
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class TupleConstructorASTTransformation
extends AbstractASTTransformation
implements CompilationUnitAware, TransformWithPriority

Handles generation of code for the

TupleConstructor:
annotation.

Method Detail

public static void addSpecialMapConstructors(int modifiers, ClassNode cNode, String message, boolean addNoArg)

@Override public String getAnnotationName()

@Override public int priority()

@Override public void setCompilationUnit(CompilationUnit unit)

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

© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/codehaus/groovy/transform/TupleConstructorASTTransformation.html