|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.editor.ElementValueAdder
public class ElementValueAdder
This AnnotationVisitor adds all element values that it visits to the given target annotation default attribute, annotation, or element value.
| Constructor Summary | |
|---|---|
ElementValueAdder(ProgramClass targetClass,
Annotation targetAnnotation,
boolean replaceElementValues)
Creates a new ElementValueAdder that will copy element values into the given target annotation. |
|
ElementValueAdder(ProgramClass targetClass,
AnnotationDefaultAttribute targetAnnotationDefaultAttribute,
boolean replaceElementValues)
Creates a new ElementValueAdder that will copy element values into the given target annotation default attribute value. |
|
ElementValueAdder(ProgramClass targetClass,
ArrayElementValue targetArrayElementValue,
boolean replaceElementValues)
Creates a new ElementValueAdder that will copy element values into the given target element value. |
|
| Method Summary | |
|---|---|
void |
visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue)
|
void |
visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue)
|
void |
visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue)
|
void |
visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue)
|
void |
visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementValueAdder(ProgramClass targetClass,
AnnotationDefaultAttribute targetAnnotationDefaultAttribute,
boolean replaceElementValues)
public ElementValueAdder(ProgramClass targetClass,
Annotation targetAnnotation,
boolean replaceElementValues)
public ElementValueAdder(ProgramClass targetClass,
ArrayElementValue targetArrayElementValue,
boolean replaceElementValues)
| Method Detail |
|---|
public void visitConstantElementValue(Clazz clazz,
Annotation annotation,
ConstantElementValue constantElementValue)
visitConstantElementValue in interface ElementValueVisitor
public void visitEnumConstantElementValue(Clazz clazz,
Annotation annotation,
EnumConstantElementValue enumConstantElementValue)
visitEnumConstantElementValue in interface ElementValueVisitor
public void visitClassElementValue(Clazz clazz,
Annotation annotation,
ClassElementValue classElementValue)
visitClassElementValue in interface ElementValueVisitor
public void visitAnnotationElementValue(Clazz clazz,
Annotation annotation,
AnnotationElementValue annotationElementValue)
visitAnnotationElementValue in interface ElementValueVisitor
public void visitArrayElementValue(Clazz clazz,
Annotation annotation,
ArrayElementValue arrayElementValue)
visitArrayElementValue in interface ElementValueVisitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||