Uses of Interface
java.lang.classfile.AnnotationElement
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of AnnotationElementPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionstatic AnnotationElementPREVIEW
AnnotationElement.of
(Utf8EntryPREVIEW name, AnnotationValuePREVIEW value) Returns an element-value pair.static AnnotationElementPREVIEW
AnnotationElement.of
(String name, AnnotationValuePREVIEW value) Returns an element-value pair.static AnnotationElementPREVIEW
AnnotationElement.ofAnnotation
(String name, AnnotationPREVIEW value) Returns an element-value pair for an annotation-valued element.static AnnotationElementPREVIEW
AnnotationElement.ofArray
(String name, AnnotationValuePREVIEW... values) Returns an element-value pair for an array-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a boolean-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a byte-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a char-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a class-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a double-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a float-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for an int-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a long-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a short-valued element.static AnnotationElementPREVIEW
Returns an element-value pair for a string-valued element.Modifier and TypeMethodDescriptionAnnotation.elements()
Returns the element-value pairs of the annotation.Modifier and TypeMethodDescriptionstatic AnnotationPREVIEW
Annotation.of
(Utf8EntryPREVIEW annotationClass, AnnotationElementPREVIEW... elements) Returns an annotation.static AnnotationPREVIEW
Annotation.of
(ClassDesc annotationClass, AnnotationElementPREVIEW... elements) Returns an annotation.Modifier and TypeMethodDescriptionstatic AnnotationPREVIEW
Returns an annotation.static AnnotationPREVIEW
Annotation.of
(ClassDesc annotationClass, List<AnnotationElementPREVIEW> elements) Returns an annotation.