Interface Annotatable
- All Known Implementing Classes:
GroovyFieldDeclaration,GroovyMethodDeclaration,GroovyTypeDeclaration,JavaFieldDeclaration,JavaMethodDeclaration,JavaTypeDeclaration,KotlinFunctionDeclaration,KotlinPropertyDeclaration,KotlinTypeDeclaration,Parameter,TypeDeclaration
public interface Annotatable
A representation of something that can be annotated.
- Author:
- Andy Wilkinson, Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionReturn theAnnotationContainerto use to configure the annotations of this element.
-
Method Details
-
annotations
AnnotationContainer annotations()Return theAnnotationContainerto use to configure the annotations of this element.- Returns:
- the annotation container
-