pub fn extract_parameter_annotations_from_attribute(
attr: &AttributeData<'_>,
) -> Result<Option<Vec<Vec<AnnotationStub>>>, ClasspathError>Expand description
Extract parameter annotations from a cafebabe AttributeData value.
Returns Ok(Some(stubs)) if the attribute is a parameter annotation attribute,
Ok(None) if it is a different attribute type.
This handles:
RuntimeVisibleParameterAnnotations→is_runtime_visible = trueRuntimeInvisibleParameterAnnotations→is_runtime_visible = false