RuntimeInvisibleParameterAnnotations
attribute
4.7.19, which can appear on methods. Delivered as a java.lang.classfile.MethodElement
when traversing a MethodModel
.
The attribute does not permit multiple instances in a given location. Subsequent occurrence of the attribute takes precedence during the attributed element build or transformation.
The attribute was introduced in the Java SE Platform version 5.0.
Modifier and Type | Method and Description |
---|---|
public static RuntimeInvisibleParameterAnnotationsAttribute | Returns: aRuntimeInvisibleParameterAnnotations attributea list of parameter annotations for each parameter parameterAnnotations)Returns a |
public List | Returns: the list of annotations corresponding to each method parameterReturns the list of annotations corresponding to each method parameter. |
of | back to summary |
---|---|
public static RuntimeInvisibleParameterAnnotationsAttribute of(List<List<Annotation>> parameterAnnotations) Returns a
|
parameterAnnotations | back to summary |
---|---|
public List Returns the list of annotations corresponding to each method parameter. The element at the i'th index corresponds to the annotations on the i'th parameter.
|