类 Attribute
java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.Attribute
- 所有已实现的接口:
Serializable,Processable
- 直接已知子类:
AnnotationDefaultAttribute,AnnotationsAttribute,BootstrapMethodsAttribute,CodeAttribute,ConstantValueAttribute,DeprecatedAttribute,EnclosingMethodAttribute,ExceptionsAttribute,InnerClassesAttribute,LineNumberTableAttribute,LocalVariableTableAttribute,LocalVariableTypeTableAttribute,MethodParametersAttribute,ModuleAttribute,ModuleMainClassAttribute,ModulePackagesAttribute,NestHostAttribute,NestMembersAttribute,ParameterAnnotationsAttribute,PermittedSubclassesAttribute,RecordAttribute,SignatureAttribute,SourceDebugExtensionAttribute,SourceDirAttribute,SourceFileAttribute,StackMapAttribute,StackMapTableAttribute,SyntheticAttribute,UnknownAttribute
This abstract class represents an attribute that is attached to a class, a class member, or a
code attribute. Specific types of attributes are subclassed from it.
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringint从类继承的字段 proguard.util.SimpleProcessable
processingFlags, processingInfo -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaccept(Clazz clazz, RecordComponentInfo recordComponentInfo, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given record component.voidaccept(Clazz clazz, AttributeVisitor attributeVisitor) Accepts the given visitor.voidaccept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given field.voidaccept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given code attribute.voidaccept(Clazz clazz, Method method, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given method.getAttributeName(Clazz clazz) Returns the String name of the attribute.从类继承的方法 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
-
字段详细资料
-
BOOTSTRAP_METHODS
- 另请参阅:
-
SOURCE_FILE
- 另请参阅:
-
SOURCE_DIR
- 另请参阅:
-
RECORD
- 另请参阅:
-
INNER_CLASSES
- 另请参阅:
-
ENCLOSING_METHOD
- 另请参阅:
-
NEST_HOST
- 另请参阅:
-
NEST_MEMBERS
- 另请参阅:
-
PERMITTED_SUBCLASSES
- 另请参阅:
-
DEPRECATED
- 另请参阅:
-
SYNTHETIC
- 另请参阅:
-
SIGNATURE
- 另请参阅:
-
CONSTANT_VALUE
- 另请参阅:
-
METHOD_PARAMETERS
- 另请参阅:
-
EXCEPTIONS
- 另请参阅:
-
CODE
- 另请参阅:
-
STACK_MAP
- 另请参阅:
-
STACK_MAP_TABLE
- 另请参阅:
-
LINE_NUMBER_TABLE
- 另请参阅:
-
LOCAL_VARIABLE_TABLE
- 另请参阅:
-
LOCAL_VARIABLE_TYPE_TABLE
- 另请参阅:
-
RUNTIME_VISIBLE_ANNOTATIONS
- 另请参阅:
-
RUNTIME_INVISIBLE_ANNOTATIONS
- 另请参阅:
-
RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
- 另请参阅:
-
RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
- 另请参阅:
-
RUNTIME_VISIBLE_TYPE_ANNOTATIONS
- 另请参阅:
-
RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
- 另请参阅:
-
ANNOTATION_DEFAULT
- 另请参阅:
-
MODULE
- 另请参阅:
-
MODULE_MAIN_CLASS
- 另请参阅:
-
MODULE_PACKAGES
- 另请参阅:
-
SOURCE_DEBUG_EXTENSION
- 另请参阅:
-
CHARACTER_RANGE_TABLE
- 另请参阅:
-
COMPILATION_I_D
- 另请参阅:
-
SOURCE_I_D
- 另请参阅:
-
u2attributeNameIndex
public int u2attributeNameIndex
-
-
构造器详细资料
-
Attribute
protected Attribute()Create an uninitialized Attribute. -
Attribute
protected Attribute(int u2attributeNameIndex) Create an initialized Attribute.
-
-
方法详细资料
-
getAttributeName
Returns the String name of the attribute. -
accept
Accepts the given visitor. -
accept
Accepts the given visitor in the context of the given field. -
accept
Accepts the given visitor in the context of the given method. -
accept
public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given code attribute. -
accept
public void accept(Clazz clazz, RecordComponentInfo recordComponentInfo, AttributeVisitor attributeVisitor) Accepts the given visitor in the context of the given record component.
-