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 TypeAnnotationTypeAnnotation.of(TypeAnnotation.TargetInfo targetInfo, List<TypeAnnotation.TypePathComponent> targetPath, Annotation annotation) Returns atype_annotationstructure. -
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 aRuntimeInvisibleTypeAnnotationsattribute.RuntimeVisibleTypeAnnotationsAttribute.of(TypeAnnotation... annotations) Returns aRuntimeVisibleTypeAnnotationsattribute.Method parameters in java.lang.classfile.attribute with type arguments of type TypeAnnotationModifier and TypeMethodDescriptionRuntimeInvisibleTypeAnnotationsAttribute.of(List<TypeAnnotation> annotations) Returns aRuntimeInvisibleTypeAnnotationsattribute.RuntimeVisibleTypeAnnotationsAttribute.of(List<TypeAnnotation> annotations) Returns aRuntimeVisibleTypeAnnotationsattribute.