Uses of Interface
java.lang.classfile.Annotation
Packages that use AnnotationPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfilePREVIEW library.-
Uses of AnnotationPREVIEW in java.lang.classfilePREVIEW
Subinterfaces of AnnotationPREVIEW in java.lang.classfilePREVIEWModifier and TypeInterfaceDescriptioninterfaceSubinterfaces with type arguments of type AnnotationPREVIEW in java.lang.classfilePREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.Models an annotation on a declaration.Methods in java.lang.classfilePREVIEW that return AnnotationPREVIEWModifier and TypeMethodDescriptionAnnotationValue.OfAnnotation.annotation()Returns the annotation.static AnnotationPREVIEWAnnotation.of(Utf8EntryPREVIEW annotationClass, AnnotationElementPREVIEW... elements) Returns an annotation.static AnnotationPREVIEWReturns an annotation.static AnnotationPREVIEWAnnotation.of(ClassDesc annotationClass, AnnotationElementPREVIEW... elements) Returns an annotation.static AnnotationPREVIEWAnnotation.of(ClassDesc annotationClass, List<AnnotationElementPREVIEW> elements) Returns an annotation.Methods in java.lang.classfilePREVIEW with parameters of type AnnotationPREVIEWModifier and TypeMethodDescriptionstatic AnnotationElementPREVIEWAnnotationElement.ofAnnotation(String name, AnnotationPREVIEW value) Returns an annotation key-value pair for an annotation-valued annotation.AnnotationValue.ofAnnotation(AnnotationPREVIEW value) Returns an annotation element for an annotation-valued element. -
Uses of AnnotationPREVIEW in java.lang.classfile.attributePREVIEW
Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type AnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleAnnotationsAttribute.annotations()Returns the non-runtime-visible annotations on this class, field, or method.RuntimeVisibleAnnotationsAttribute.annotations()Returns the runtime-visible annotations on this class, field, or method.RuntimeInvisibleParameterAnnotationsAttribute.parameterAnnotations()Returns the list of annotations corresponding to each method parameter.RuntimeVisibleParameterAnnotationsAttribute.parameterAnnotations()Returns the list of annotations corresponding to each method parameter.Methods in java.lang.classfile.attributePREVIEW with parameters of type AnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleAnnotationsAttribute.of(AnnotationPREVIEW... annotations) Returns aRuntimeInvisibleAnnotationsattribute.RuntimeVisibleAnnotationsAttribute.of(AnnotationPREVIEW... annotations) Returns aRuntimeVisibleAnnotationsattribute.Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type AnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleAnnotationsAttribute.of(List<AnnotationPREVIEW> annotations) Returns aRuntimeInvisibleAnnotationsattribute.RuntimeInvisibleParameterAnnotationsAttribute.of(List<List<AnnotationPREVIEW>> parameterAnnotations) Returns aRuntimeInvisibleParameterAnnotationsattribute.RuntimeVisibleAnnotationsAttribute.of(List<AnnotationPREVIEW> annotations) Returns aRuntimeVisibleAnnotationsattribute.RuntimeVisibleParameterAnnotationsAttribute.of(List<List<AnnotationPREVIEW>> parameterAnnotations) Returns aRuntimeVisibleParameterAnnotationsattribute.