Interface AnnotationValue.OfString

All Superinterfaces:
AnnotationValue, AnnotationValue.OfConstant, ClassfileElement, WritableElement<AnnotationValue>
All Known Implementing Classes:
AnnotationImpl.OfStringImpl
Enclosing interface:
AnnotationValue

public static sealed interface AnnotationValue.OfString extends AnnotationValue.OfConstant permits AnnotationImpl.OfStringImpl
Models a constant-valued element
  • Method Details

    • stringValue

      String stringValue()
      Returns the constant.
      Returns:
      the constant