public class ParameterAnnotationsAttributeEditor
extends java.lang.Object
Constructor and Description |
---|
ParameterAnnotationsAttributeEditor(ParameterAnnotationsAttribute targetParameterAnnotationsAttribute)
Creates a new ParameterAnnotationsAttributeEditor that will edit annotations in the given
parameter annotations attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(int parameterIndex,
Annotation annotation)
Adds a given annotation to the annotations attribute.
|
void |
deleteAnnotation(int parameterIndex,
Annotation annotation)
Deletes a given annotation from the annotations attribute.
|
void |
deleteAnnotation(int parameterIndex,
int annotationIndex)
Deletes the annotation at the given index from the annotations attribute.
|
public ParameterAnnotationsAttributeEditor(ParameterAnnotationsAttribute targetParameterAnnotationsAttribute)
public void addAnnotation(int parameterIndex, Annotation annotation)
public void deleteAnnotation(int parameterIndex, Annotation annotation)
public void deleteAnnotation(int parameterIndex, int annotationIndex)