# Uses of Interface
java.lang.classfile.AnnotationValue.OfConstant

Packages that use AnnotationValue.OfConstantPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

- ## Uses of AnnotationValue.OfConstantPREVIEW in java.lang.classfilePREVIEW

  Subinterfaces of AnnotationValue.OfConstantPREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `static interface`
  `AnnotationValue.OfBooleanPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfBytePREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfCharacterPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfDoublePREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfFloatPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfIntegerPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfLongPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfShortPREVIEW`
  Preview.
  Models a constant-valued element
  `static interface`
  `AnnotationValue.OfStringPREVIEW`
  Preview.
  Models a constant-valued element
  Methods in java.lang.classfilePREVIEW that return AnnotationValue.OfConstantPREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofBoolean(boolean value)`
  Returns an annotation element for a boolean-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofBoolean(IntegerEntryPREVIEW value)`
  Returns an annotation element for a boolean-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofByte(byte value)`
  Returns an annotation element for a byte-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofByte(IntegerEntryPREVIEW value)`
  Returns an annotation element for a byte-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofChar(char value)`
  Returns an annotation element for a char-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofChar(IntegerEntryPREVIEW value)`
  Returns an annotation element for a char-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofDouble(double value)`
  Returns an annotation element for a double-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofDouble(DoubleEntryPREVIEW value)`
  Returns an annotation element for a double-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofFloat(float value)`
  Returns an annotation element for a float-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofFloat(FloatEntryPREVIEW value)`
  Returns an annotation element for a float-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofInt(int value)`
  Returns an annotation element for an int-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofInt(IntegerEntryPREVIEW value)`
  Returns an annotation element for an int-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofLong(long value)`
  Returns an annotation element for a long-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofLong(LongEntryPREVIEW value)`
  Returns an annotation element for a long-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofShort(short value)`
  Returns an annotation element for a short-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofShort(IntegerEntryPREVIEW value)`
  Returns an annotation element for a short-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofString(Utf8EntryPREVIEW value)`
  Returns an annotation element for a string-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofString(String value)`
  Returns an annotation element for a string-valued element.