Interface AnnotationValue.OfShort

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

public static sealed interface AnnotationValue.OfShort extends AnnotationValue.OfConstant permits AnnotationImpl.OfShortImpl
Models a constant-valued element
Since:
22
  • Method Details

    • shortValue

      short shortValue()
      Returns the constant.
      Returns:
      the constant