public class ElementValuesEditor
extends java.lang.Object
Constructor and Description |
---|
ElementValuesEditor(ProgramClass targetClass,
Annotation targetAnnotation,
boolean replaceElementValues)
Creates a new ElementValuesEditor that will edit element values in the given target annotation.
|
ElementValuesEditor(ProgramClass targetClass,
ArrayElementValue targetArrayElementValue,
boolean replaceElementValues)
Creates a new ElementValuesEditor that will edit element values in the given target array
element value.
|
Modifier and Type | Method and Description |
---|---|
void |
addElementValue(ElementValue elementValue)
Adds the given elementValue to the target.
|
void |
deleteElementValue(java.lang.String elementValueMethodName)
Deletes the given elementValue to the target.
|
public ElementValuesEditor(ProgramClass targetClass, Annotation targetAnnotation, boolean replaceElementValues)
public ElementValuesEditor(ProgramClass targetClass, ArrayElementValue targetArrayElementValue, boolean replaceElementValues)
public void addElementValue(ElementValue elementValue)
public void deleteElementValue(java.lang.String elementValueMethodName)