# Uses of Interface
java.lang.classfile.constantpool.IntegerEntry

Packages that use IntegerEntryPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.constantpool
Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.

- ## Uses of IntegerEntryPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW with parameters of type IntegerEntryPREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofBoolean(IntegerEntryPREVIEW value)`
  Returns an annotation element for a boolean-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofByte(IntegerEntryPREVIEW value)`
  Returns an annotation element for a byte-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofChar(IntegerEntryPREVIEW value)`
  Returns an annotation element for a char-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofInt(IntegerEntryPREVIEW value)`
  Returns an annotation element for an int-valued element.
  `static AnnotationValue.OfConstantPREVIEW`
  AnnotationValue.`ofShort(IntegerEntryPREVIEW value)`
  Returns an annotation element for a short-valued element.

- ## Uses of IntegerEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW

  Methods in java.lang.classfile.constantpoolPREVIEW that return IntegerEntryPREVIEW
  Modifier and Type
  Method
  Description
  `IntegerEntryPREVIEW`
  ConstantPoolBuilder.`intEntry(int value)`
  Returns An `IntegerEntry`PREVIEW describing the provided value.