Uses of Interface
java.lang.classfile.AnnotationElement
Packages that use AnnotationElement
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of AnnotationElement in java.lang.classfile
Methods in java.lang.classfile that return AnnotationElementModifier and TypeMethodDescriptionstatic AnnotationElementAnnotationElement.of(Utf8Entry name, AnnotationValue value) Returns an element-value pair.static AnnotationElementAnnotationElement.of(String name, AnnotationValue value) Returns an element-value pair.static AnnotationElementAnnotationElement.ofAnnotation(String name, Annotation value) Returns an element-value pair for an annotation-valued element.static AnnotationElementAnnotationElement.ofArray(String name, AnnotationValue... values) Returns an element-value pair for an array-valued element.static AnnotationElementReturns an element-value pair for a boolean-valued element.static AnnotationElementReturns an element-value pair for a byte-valued element.static AnnotationElementReturns an element-value pair for a char-valued element.static AnnotationElementReturns an element-value pair for a class-valued element.static AnnotationElementReturns an element-value pair for a double-valued element.static AnnotationElementReturns an element-value pair for a float-valued element.static AnnotationElementReturns an element-value pair for an int-valued element.static AnnotationElementReturns an element-value pair for a long-valued element.static AnnotationElementReturns an element-value pair for a short-valued element.static AnnotationElementReturns an element-value pair for a string-valued element.Methods in java.lang.classfile that return types with arguments of type AnnotationElementModifier and TypeMethodDescriptionAnnotation.elements()Returns the element-value pairs of the annotation.Methods in java.lang.classfile with parameters of type AnnotationElementModifier and TypeMethodDescriptionstatic AnnotationAnnotation.of(Utf8Entry annotationClass, AnnotationElement... elements) Returns an annotation.static AnnotationAnnotation.of(ClassDesc annotationClass, AnnotationElement... elements) Returns an annotation.Method parameters in java.lang.classfile with type arguments of type AnnotationElementModifier and TypeMethodDescriptionstatic AnnotationAnnotation.of(Utf8Entry annotationClass, List<AnnotationElement> elements) Returns an annotation.static AnnotationAnnotation.of(ClassDesc annotationClass, List<AnnotationElement> elements) Returns an annotation.