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
  • Method Details

    • annotation

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