Interface AnnotationValue.OfFloat

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

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

    • floatValue

      float floatValue()
      Returns the constant.
      Returns:
      the constant