RuntimeInvisibleAnnotations attribute (JVMS 4.7.17), which stores
declaration annotations on this structure that are visible to class file consumers but are not visible to core reflection.
This attribute appears on classes, fields, methods, and record components, and does not permit multiple instances in one structure. It has a data dependency on the constant pool.
The attribute was introduced in the Java SE Platform version 5.0, major version 49.
RuntimeInvisibleAnnotations Attribute
Attributes#runtimeInvisibleAnnotations(), java.compiler/javax.lang.model.element.Element , ElementType, RetentionPolicy#CLASS
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the run-time invisible declaration annotations on this structureReturns the run-time invisible declaration annotations on this structure. |
| public static RuntimeInvisibleAnnotationsAttribute | Returns: aRuntimeInvisibleAnnotations attributethe annotations annotations)Returns a |
| public static RuntimeInvisibleAnnotationsAttribute | Returns: aRuntimeInvisibleAnnotations attributethe annotations annotations)Returns a |
| annotations | back to summary |
|---|---|
| public List Returns the run-time invisible declaration annotations on this structure.
| |
| of | back to summary |
|---|---|
| public static RuntimeInvisibleAnnotationsAttribute of(List<Annotation> annotations) Returns a
| |
| of | back to summary |
|---|---|
| public static RuntimeInvisibleAnnotationsAttribute of(Annotation... annotations) Returns a
| |