类 EnumConstantElementValue
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.annotation.ElementValue
proguard.classfile.attribute.annotation.EnumConstantElementValue
- 所有已实现的接口:
Serializable,Processable
This
ElementValue represents an enumeration constant element value.- 另请参阅:
-
字段概要
字段修饰符和类型字段说明Clazz[]An extra field pointing to the Clazz objects referenced in the type name string.An extra field optionally pointing to the referenced enum Field object.intint从类继承的字段 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 EnumConstantElementValue.EnumConstantElementValue(int u2elementNameIndex, int u2typeNameIndex, int u2constantNameIndex) Creates an initialized EnumConstantElementValue. -
方法概要
修饰符和类型方法说明voidaccept(Clazz clazz, Annotation annotation, ElementValueVisitor elementValueVisitor) Accepts the given visitor.getConstantName(Clazz clazz) Returns the constant name.chargetTag()Returns the tag of this element value.getTypeName(Clazz clazz) Returns the enumeration type name.voidreferencedClassesAccept(ClassVisitor classVisitor) Applies the given visitor to all referenced classes.voidreferencedFieldAccept(MemberVisitor memberVisitor) Applies the given visitor to the referenced field.从类继承的方法 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
-
字段详细资料
-
u2typeNameIndex
public int u2typeNameIndex -
u2constantNameIndex
public int u2constantNameIndex -
referencedClasses
An extra field pointing to the Clazz objects referenced in the type name string. This field is typically filled out by the. References to primitive types are ignored.ClassReferenceInitializer -
referencedField
An extra field optionally pointing to the referenced enum Field object. This field is typically filled out by the.ClassReferenceInitializer
-
-
构造器详细资料
-
EnumConstantElementValue
public EnumConstantElementValue()Creates an uninitialized EnumConstantElementValue. -
EnumConstantElementValue
public EnumConstantElementValue(int u2elementNameIndex, int u2typeNameIndex, int u2constantNameIndex) Creates an initialized EnumConstantElementValue.
-
-
方法详细资料
-
getTypeName
Returns the enumeration type name. -
getConstantName
Returns the constant name. -
referencedClassesAccept
Applies the given visitor to all referenced classes. -
referencedFieldAccept
Applies the given visitor to the referenced field. -
getTag
public char getTag()从类复制的说明:ElementValueReturns the tag of this element value.- 指定者:
getTag在类中ElementValue
-
accept
从类复制的说明:ElementValueAccepts the given visitor.- 指定者:
accept在类中ElementValue
-