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.classfile
PREVIEW library.-
Uses of TypeAnnotationPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return TypeAnnotationPREVIEWModifier and TypeMethodDescriptionstatic 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, Utf8EntryPREVIEW annotationClassUtf8Entry, List<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.static TypeAnnotationPREVIEW
TypeAnnotation.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 aRuntimeInvisibleTypeAnnotations
attribute.RuntimeVisibleTypeAnnotationsAttribute.of
(TypeAnnotationPREVIEW... annotations) Returns aRuntimeVisibleTypeAnnotations
attribute.Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type TypeAnnotationPREVIEWModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of
(List<TypeAnnotationPREVIEW> annotations) Returns aRuntimeInvisibleTypeAnnotations
attribute.RuntimeVisibleTypeAnnotationsAttribute.of
(List<TypeAnnotationPREVIEW> annotations) Returns aRuntimeVisibleTypeAnnotations
attribute.