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

[Java] Class PackageScopeASTTransformation

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

Handles transformation for the

PackageScope:
annotation.

Both the deprecated groovy.lang.PackageScope and groovy.transform.PackageScope annotations are supported. The former will be removed in a future version of Groovy.

Method Detail

@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/PackageScopeASTTransformation.html