|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.attribute.annotation.ElementValue
proguard.classfile.attribute.annotation.ClassElementValue
public class ClassElementValue
This ElementValue represents a class element value.
| Field Summary | |
|---|---|
Clazz[] |
referencedClasses
An extra field pointing to the Clazz objects referenced in the type name string. |
int |
u2classInfoIndex
|
| Fields inherited from class proguard.classfile.attribute.annotation.ElementValue |
|---|
referencedClass, referencedMethod, u2elementNameIndex, visitorInfo |
| Constructor Summary | |
|---|---|
ClassElementValue()
Creates an uninitialized ClassElementValue. |
|
ClassElementValue(int u2elementNameIndex,
int u2classInfoIndex)
Creates an initialized ClassElementValue. |
|
| Method Summary | |
|---|---|
void |
accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor. |
int |
getTag()
Returns the tag of this element value. |
void |
referencedClassesAccept(ClassVisitor classVisitor)
Applies the given visitor to all referenced classes. |
| Methods inherited from class proguard.classfile.attribute.annotation.ElementValue |
|---|
getMethodName, getVisitorInfo, referencedMethodAccept, setVisitorInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int u2classInfoIndex
public Clazz[] referencedClasses
ClassReferenceInitializer.
References to primitive types are ignored.
| Constructor Detail |
|---|
public ClassElementValue()
public ClassElementValue(int u2elementNameIndex,
int u2classInfoIndex)
| Method Detail |
|---|
public void referencedClassesAccept(ClassVisitor classVisitor)
public int getTag()
ElementValue
getTag in class ElementValue
public void accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
ElementValue
accept in class ElementValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||