Package io.micronaut.ast.groovy.visitor
Interface GroovyNativeElement
- All Known Implementing Classes:
GroovyNativeElement.Class,GroovyNativeElement.ClassWithOwner,GroovyNativeElement.Field,GroovyNativeElement.Method,GroovyNativeElement.Package,GroovyNativeElement.Parameter,GroovyNativeElement.Placeholder
@Internal
public sealed interface GroovyNativeElement
permits GroovyNativeElement.Class, GroovyNativeElement.ClassWithOwner, GroovyNativeElement.Method, GroovyNativeElement.Parameter, GroovyNativeElement.Package, GroovyNativeElement.Field, GroovyNativeElement.Placeholder
Groovy's native element.
- Since:
- 4.0.0
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe class element.static final recordThe class element with an owner (Generic type etc.).static final recordThe field element.static final recordThe method element.static final recordThe package element.static final recordThe parameter element.static final recordThe placeholder element. -
Method Summary
-
Method Details
-
annotatedNode
org.codehaus.groovy.ast.AnnotatedNode annotatedNode()- Returns:
- The annotated node representing the type.
-