AnnotationTarget that is also a declaration.
ClassInfo, FieldInfo, MethodInfo, MethodParameterInfo, RecordComponentInfo
| Modifier and Type | Method and Description |
|---|---|
| public default Declaration | asDeclaration()
Implements org. Declaration if it is a declaration.
|
| public default boolean | isDeclaration()
Implements org. |
| asDeclaration | back to summary |
|---|---|
| public default Declaration asDeclaration() Implements org. Doc from org. Casts and returns this annotation target as a
| |
| isDeclaration | back to summary |
|---|---|
| public default boolean isDeclaration() Implements org. Doc from org. Returns whether this annotation target is a declaration.
| |