Class AbstractGroovyElement

java.lang.Object
io.micronaut.inject.ast.annotation.AbstractAnnotationElement
io.micronaut.ast.groovy.visitor.AbstractGroovyElement
All Implemented Interfaces:
AnnotatedElement, AnnotationMetadata, AnnotationMetadataDelegate, AnnotationMetadataProvider, AnnotationSource, Described, Named, MutableAnnotationMetadataDelegate<Element>, Element
Direct Known Subclasses:
GroovyClassElement, GroovyEnumConstantElement, GroovyFieldElement, GroovyMethodElement, GroovyPackageElement, GroovyParameterElement

@Internal public abstract class AbstractGroovyElement extends AbstractAnnotationElement
Abstract Groovy element.
Since:
1.1
Author:
Graeme Rocher, Denis Stepanov
  • Field Details

    • sourceUnit

      protected final org.codehaus.groovy.control.SourceUnit sourceUnit
    • compilationUnit

      protected final org.codehaus.groovy.control.CompilationUnit compilationUnit
    • visitorContext

      protected final GroovyVisitorContext visitorContext
  • Constructor Details

    • AbstractGroovyElement

      protected AbstractGroovyElement(GroovyVisitorContext visitorContext, GroovyNativeElement nativeElement, ElementAnnotationMetadataFactory annotationMetadataFactory)
      Default constructor.
      Parameters:
      visitorContext - The groovy visitor context
      nativeElement - The native element
      annotationMetadataFactory - The annotation metadata factory
  • Method Details