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 annotation key-value pair.static AnnotationElementPREVIEW
AnnotationElement.of
(String name, AnnotationValuePREVIEW value) Returns an annotation key-value pair.static AnnotationElementPREVIEW
AnnotationElement.ofAnnotation
(String name, AnnotationPREVIEW value) Returns an annotation key-value pair for an annotation-valued annotation.static AnnotationElementPREVIEW
AnnotationElement.ofArray
(String name, AnnotationValuePREVIEW... values) Returns an annotation key-value pair for an array-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a boolean-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a byte-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a char-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a class-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a double-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a float-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for an int-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a long-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a short-valued annotation.static AnnotationElementPREVIEW
Returns an annotation key-value pair for a string-valued 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.static TypeAnnotationPREVIEW
TypeAnnotation.of
(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.static TypeAnnotationPREVIEW
TypeAnnotation.of
(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.Modifier and TypeMethodDescriptionstatic AnnotationPREVIEW
Returns an annotation.static AnnotationPREVIEW
Annotation.of
(ClassDesc annotationClass, List<AnnotationElementPREVIEW> elements) Returns an annotation.