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

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

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

  Methods in java.lang.classfilePREVIEW that return AnnotationValue.OfEnumPREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValue.OfEnumPREVIEW`
  AnnotationValue.`ofEnum(Utf8EntryPREVIEW className, Utf8EntryPREVIEW constantName)`
  Returns an annotation element for a enum-valued element.
  `static AnnotationValue.OfEnumPREVIEW`
  AnnotationValue.`ofEnum(ClassDesc className, String constantName)`
  Returns an annotation element for a enum-valued element.