Interface AnnotationValue.OfAnnotation

All Superinterfaces:
AnnotationValue, ClassFileElement, WritableElement<AnnotationValue>
All Known Implementing Classes:
AnnotationImpl.OfAnnotationImpl
Enclosing interface:
AnnotationValue

public static sealed interface AnnotationValue.OfAnnotation extends AnnotationValue permits AnnotationImpl.OfAnnotationImpl
Models an annotation-valued element
Since:
22
  • Method Details

    • annotation

      Annotation annotation()
      Returns the annotation.
      Returns:
      the annotation