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
Modifier and TypeInterfaceDescriptionstatic final record
The class element.static final record
The class element with an owner (Generic type etc.).static final record
The field element.static final record
The method element.static final record
The package element.static final record
The parameter element.static final record
The placeholder element. -
Method Summary
-
Method Details
-
annotatedNode
org.codehaus.groovy.ast.AnnotatedNode annotatedNode()- Returns:
- The annotated node representing the type.
-