Uses of Interface
java.lang.classfile.TypeAnnotation
Packages that use TypeAnnotation
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class
file attributes for the java.lang.classfile
library.-
Uses of TypeAnnotation in java.lang.classfile
Methods in java.lang.classfile that return TypeAnnotationModifier and TypeMethodDescriptionstatic TypeAnnotation
TypeAnnotation.of
(TypeAnnotation.TargetInfo targetInfo, List<TypeAnnotation.TypePathComponent> targetPath, Annotation annotation) Returns atype_annotation
structure. -
Uses of TypeAnnotation in java.lang.classfile.attribute
Methods in java.lang.classfile.attribute that return types with arguments of type TypeAnnotationModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.annotations()
Returns the run-time invisible annotations on uses of types in this structure.RuntimeVisibleTypeAnnotationsAttribute.annotations()
Returns the run-time visible annotations on uses of types in this structure.Methods in java.lang.classfile.attribute with parameters of type TypeAnnotationModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of
(TypeAnnotation... annotations) Returns aRuntimeInvisibleTypeAnnotations
attribute.RuntimeVisibleTypeAnnotationsAttribute.of
(TypeAnnotation... annotations) Returns aRuntimeVisibleTypeAnnotations
attribute.Method parameters in java.lang.classfile.attribute with type arguments of type TypeAnnotationModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of
(List<TypeAnnotation> annotations) Returns aRuntimeInvisibleTypeAnnotations
attribute.RuntimeVisibleTypeAnnotationsAttribute.of
(List<TypeAnnotation> annotations) Returns aRuntimeVisibleTypeAnnotations
attribute.