Interface RuntimeInvisibleAnnotationsAttribute

All Superinterfaces:
Attribute<RuntimeInvisibleAnnotationsAttribute>, ClassElement, ClassfileElement, FieldElement, MethodElement, WritableElement<RuntimeInvisibleAnnotationsAttribute>
All Known Implementing Classes:
BoundAttribute.BoundRuntimeInvisibleAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleAnnotationsAttribute

Models the RuntimeInvisibleAnnotations attribute , which can appear on classes, methods, and fields. Delivered as a ClassElement, FieldElement, or MethodElement when traversing the corresponding model type.
  • Method Details

    • annotations

      List<Annotation> annotations()
      Returns the non-runtime-visible annotations on this class, field, or method.
      Returns:
      the non-runtime-visible annotations on this class, field, or method
    • of

      Returns a RuntimeInvisibleAnnotations attribute.
      Parameters:
      annotations - the annotations
      Returns:
      a RuntimeInvisibleAnnotations attribute
    • of

      Returns a RuntimeInvisibleAnnotations attribute.
      Parameters:
      annotations - the annotations
      Returns:
      a RuntimeInvisibleAnnotations attribute