Class GroovyPackageElement

All Implemented Interfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Described, Named, MutableAnnotationMetadataDelegate<Element>, Element, PackageElement

@Internal public class GroovyPackageElement extends AbstractGroovyElement implements PackageElement
A class element returning data from a PackageNode.
Since:
2.0
Author:
Graeme Rocher
  • Constructor Details

    • GroovyPackageElement

      public GroovyPackageElement(GroovyVisitorContext visitorContext, org.codehaus.groovy.ast.PackageNode packageNode, ElementAnnotationMetadataFactory annotationMetadataFactory)
      Default constructor.
      Parameters:
      visitorContext - The visitor context
      packageNode - The annotated node
      annotationMetadataFactory - The annotation metadata
  • Method Details