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 Type
    Method
    Description
    default void
    annotate(Annotation annotation)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Return the AnnotationContainer to use to configure the annotations of this element.
    default List<Annotation>
    Deprecated, for removal: This API element is subject to removal in a future version.