Module org.glavo.classfile
Package org.glavo.classfile.attribute
Interface RuntimeInvisibleTypeAnnotationsAttribute
- All Superinterfaces:
Attribute<RuntimeInvisibleTypeAnnotationsAttribute>,ClassElement,ClassfileElement,CodeElement,FieldElement,MethodElement,WritableElement<RuntimeInvisibleTypeAnnotationsAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundRuntimeInvisibleTypeAnnotationsAttribute,UnboundAttribute.UnboundRuntimeInvisibleTypeAnnotationsAttribute
public sealed interface RuntimeInvisibleTypeAnnotationsAttribute
extends Attribute<RuntimeInvisibleTypeAnnotationsAttribute>, ClassElement, MethodElement, FieldElement, CodeElement
permits BoundAttribute.BoundRuntimeInvisibleTypeAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleTypeAnnotationsAttribute
Models the
RuntimeInvisibleTypeAnnotations attribute , which
can appear on classes, methods, fields, and code attributes. Delivered as a
ClassElement, FieldElement,
MethodElement, or CodeElement when traversing
the corresponding model type.-
Method Summary
Modifier and TypeMethodDescriptionReturns the non-runtime-visible type annotations on parts of this class, field, or method.of(List<TypeAnnotation> annotations) Returns aRuntimeInvisibleTypeAnnotationsattribute.of(TypeAnnotation... annotations) Returns aRuntimeInvisibleTypeAnnotationsattribute.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
annotations
List<TypeAnnotation> annotations()Returns the non-runtime-visible type annotations on parts of this class, field, or method.- Returns:
- the non-runtime-visible type annotations on parts of this class, field, or method
-
of
Returns aRuntimeInvisibleTypeAnnotationsattribute.- Parameters:
annotations- the annotations- Returns:
- a
RuntimeInvisibleTypeAnnotationsattribute
-
of
Returns aRuntimeInvisibleTypeAnnotationsattribute.- Parameters:
annotations- the annotations- Returns:
- a
RuntimeInvisibleTypeAnnotationsattribute
-