类 ClassElementValue
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.annotation.ElementValue
proguard.classfile.attribute.annotation.ClassElementValue
- 所有已实现的接口:
Serializable,Processable
This
ElementValue represents a class element value.- 另请参阅:
-
字段概要
字段修饰符和类型字段说明Clazz[]An extra field pointing to the Clazz objects referenced in the type name string.int从类继承的字段 proguard.classfile.attribute.annotation.ElementValue
referencedClass, referencedMethod, TAG_ANNOTATION, TAG_ARRAY, TAG_CLASS, TAG_ENUM_CONSTANT, TAG_STRING_CONSTANT, u2elementNameIndex从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo -
构造器概要
构造器构造器说明Creates an uninitialized ClassElementValue.ClassElementValue(int u2elementNameIndex, int u2classInfoIndex) Creates an initialized ClassElementValue. -
方法概要
修饰符和类型方法说明voidaccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Accepts the given visitor.getClassName(Clazz clazz) Returns the class info name.chargetTag()Returns the tag of this element value.voidreferencedClassesAccept(ClassVisitor classVisitor) Applies the given visitor to all referenced classes.从类继承的方法 proguard.classfile.attribute.annotation.ElementValue
getMethodName, referencedMethodAccept从类继承的方法 proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.util.Processable
accept
-
字段详细资料
-
u2classInfoIndex
public int u2classInfoIndex -
referencedClasses
An extra field pointing to the Clazz objects referenced in the type name string. This field is filled out by the. References to primitive types are ignored.ClassReferenceInitializer
-
-
构造器详细资料
-
ClassElementValue
public ClassElementValue()Creates an uninitialized ClassElementValue. -
ClassElementValue
public ClassElementValue(int u2elementNameIndex, int u2classInfoIndex) Creates an initialized ClassElementValue.
-
-
方法详细资料
-
getClassName
Returns the class info name. -
referencedClassesAccept
Applies the given visitor to all referenced classes. -
getTag
public char getTag()从类复制的说明:ElementValueReturns the tag of this element value.- 指定者:
getTag在类中ElementValue
-
accept
从类复制的说明:ElementValueAccepts the given visitor.- 指定者:
accept在类中ElementValue
-