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
Methods in java.lang.classfilePREVIEW that return AnnotationPREVIEWModifier and TypeMethodDescriptionAnnotationValue.OfAnnotation.annotation()Returns the annotation value.TypeAnnotation.annotation()Returns the annotation applied to the part indicated byTypeAnnotation.targetPath()PREVIEW.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 TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, AnnotationPREVIEW annotation) Returns atype_annotationstructure.static AnnotationElementPREVIEWAnnotationElement.ofAnnotation(String name, AnnotationPREVIEW value) Returns an element-value pair for an annotation-valued element.AnnotationValue.ofAnnotation(AnnotationPREVIEW value) Returns an annotation value for an element-value pair. -
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.