Uses of Interface
java.lang.classfile.TypeAnnotation
Packages that use TypeAnnotationPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfilePREVIEW library.-
Uses of TypeAnnotationPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return TypeAnnotationPREVIEWModifier and TypeMethodDescriptionstatic TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, Utf8EntryPREVIEW annotationClassUtf8Entry, List<AnnotationElementPREVIEW> annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, AnnotationElementPREVIEW... annotationElements) Returns a type annotation.static TypeAnnotationPREVIEWTypeAnnotation.of(TypeAnnotation.TargetInfoPREVIEW targetInfo, List<TypeAnnotation.TypePathComponentPREVIEW> targetPath, ClassDesc annotationClass, List<AnnotationElementPREVIEW> annotationElements) Returns a type annotation. -
Uses of TypeAnnotationPREVIEW in java.lang.classfile.attributePREVIEW
Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type TypeAnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.annotations()Returns the non-runtime-visible type annotations on parts of this class, field, or method.RuntimeVisibleTypeAnnotationsAttribute.annotations()Returns the runtime-visible type annotations on parts of this class, field, or method.Methods in java.lang.classfile.attributePREVIEW with parameters of type TypeAnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of(TypeAnnotationPREVIEW... annotations) Returns aRuntimeInvisibleTypeAnnotationsattribute.RuntimeVisibleTypeAnnotationsAttribute.of(TypeAnnotationPREVIEW... annotations) Returns aRuntimeVisibleTypeAnnotationsattribute.Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type TypeAnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of(List<TypeAnnotationPREVIEW> annotations) Returns aRuntimeInvisibleTypeAnnotationsattribute.RuntimeVisibleTypeAnnotationsAttribute.of(List<TypeAnnotationPREVIEW> annotations) Returns aRuntimeVisibleTypeAnnotationsattribute.