类 Annotation
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.annotation.Annotation
- 所有已实现的接口:
Serializable,Processable
- 直接已知子类:
TypeAnnotation
Representation of an annotation.
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明Clazz[]An extra field pointing to the Clazz objects referenced in the type string.intint从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo -
构造器概要
构造器构造器说明Creates an uninitialized Annotation.Annotation(int u2typeIndex, int u2elementValuesCount, ElementValue[] elementValues) Creates an initialized Annotation. -
方法概要
修饰符和类型方法说明voidelementValueAccept(Clazz clazz, int index, ElementValueVisitor elementValueVisitor) Applies the given visitor to the specified element value pair.voidelementValuesAccept(Clazz clazz, ElementValueVisitor elementValueVisitor) Applies the given visitor to all element value pairs.Returns the type.voidreferencedClassAccept(ClassVisitor classVisitor) Applies the given visitor to the first referenced class.voidreferencedClassesAccept(ClassVisitor classVisitor) Applies the given visitor to all referenced classes.从类继承的方法 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
-
字段详细资料
-
u2typeIndex
public int u2typeIndex -
u2elementValuesCount
public int u2elementValuesCount -
elementValues
-
referencedClasses
An extra field pointing to the Clazz objects referenced in the type string. This field is typically filled out by the. References to primitive types are ignored.ClassReferenceInitializer
-
-
构造器详细资料
-
Annotation
public Annotation()Creates an uninitialized Annotation. -
Annotation
Creates an initialized Annotation.
-
-
方法详细资料
-
getType
Returns the type. -
referencedClassAccept
Applies the given visitor to the first referenced class. This is the main annotation class. -
referencedClassesAccept
Applies the given visitor to all referenced classes. -
elementValueAccept
Applies the given visitor to the specified element value pair. -
elementValuesAccept
Applies the given visitor to all element value pairs.
-