Uses of Interface java.lang.classfile.AnnotationValue.OfClass (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile, interface: AnnotationValue, interface: OfClass

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

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

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

  Methods in java.lang.classfilePREVIEW that return AnnotationValue.OfClassPREVIEW
  Modifier and Type
  Method
  Description
  `static AnnotationValue.OfClassPREVIEW`
  AnnotationValue.`ofClass(Utf8EntryPREVIEW className)`
  Returns an annotation element for a class-valued element.
  `static AnnotationValue.OfClassPREVIEW`
  AnnotationValue.`ofClass(ClassDesc className)`
  Returns an annotation element for a class-valued element.