RuntimeInvisibleParameterAnnotations attribute

Class-retention annotations on each parameter..

Appears on
method
Since
class file 49.0 (Java 5)
javac writes it
for class-retention annotations on parameters
Needed by the JVM
no: it is for the class libraries (reflection), compilers or tools

Layout

TypeFieldWhat it holds
u2attribute_name_indexa Utf8: "RuntimeInvisibleParameterAnnotations"
u4attribute_lengthbytes after this field
u1num_parameters
parameter_annotations[…]parameter_annotations

What it is for

Class-retention annotations on each parameter.

How common it is

None of the 7,391 classes in JDK 25.0.5's java.base has one.

Specification: JVMS §4.7, The RuntimeInvisibleParameterAnnotations Attribute (Java SE 25).