类 ClassElementValue
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.annotation.ElementValue
-
- proguard.classfile.attribute.annotation.ClassElementValue
-
- 所有已实现的接口:
java.io.Serializable,Processable
public class ClassElementValue extends ElementValue
ThisElementValuerepresents a class element value.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 Clazz[]referencedClassesAn extra field pointing to the Clazz objects referenced in the type name string.intu2classInfoIndex-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 ClassElementValue()Creates an uninitialized ClassElementValue.ClassElementValue(int u2elementNameIndex, int u2classInfoIndex)Creates an initialized ClassElementValue.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)Accepts the given visitor.java.lang.StringgetClassName(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
public Clazz[] 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
-
-
方法详细资料
-
getClassName
public java.lang.String getClassName(Clazz clazz)
Returns the class info name.
-
referencedClassesAccept
public void referencedClassesAccept(ClassVisitor classVisitor)
Applies the given visitor to all referenced classes.
-
getTag
public char getTag()
从类复制的说明:ElementValueReturns the tag of this element value.- 指定者:
getTag在类中ElementValue
-
accept
public void accept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor)
从类复制的说明:ElementValueAccepts the given visitor.- 指定者:
accept在类中ElementValue
-
-