Package proguard.dexfile.reader.node
Class DexClassNode
- java.lang.Object
-
- proguard.dexfile.reader.visitors.DexClassVisitor
-
- proguard.dexfile.reader.node.DexClassNode
-
- All Implemented Interfaces:
DexAnnotationAble
public class DexClassNode extends DexClassVisitor
-
-
Field Summary
Fields Modifier and Type Field Description int
access
java.util.List<DexAnnotationNode>
anns
java.lang.String
className
java.util.List<DexFieldNode>
fields
java.lang.String[]
interfaceNames
java.util.List<DexMethodNode>
methods
java.lang.String
source
java.lang.String
superClass
-
Fields inherited from class proguard.dexfile.reader.visitors.DexClassVisitor
visitor
-
-
Constructor Summary
Constructors Constructor Description DexClassNode(int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
DexClassNode(DexClassVisitor v, int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DexClassVisitor dcv)
void
accept(DexFileVisitor dfv)
DexAnnotationVisitor
visitAnnotation(java.lang.String name, Visibility visibility)
访问注解DexFieldVisitor
visitField(int accessFlags, Field field, java.lang.Object value)
DexMethodVisitor
visitMethod(int accessFlags, Method method)
void
visitSource(java.lang.String file)
-
Methods inherited from class proguard.dexfile.reader.visitors.DexClassVisitor
visitEnd
-
-
-
-
Field Detail
-
access
public int access
-
anns
public java.util.List<DexAnnotationNode> anns
-
className
public java.lang.String className
-
fields
public java.util.List<DexFieldNode> fields
-
interfaceNames
public java.lang.String[] interfaceNames
-
methods
public java.util.List<DexMethodNode> methods
-
source
public java.lang.String source
-
superClass
public java.lang.String superClass
-
-
Constructor Detail
-
DexClassNode
public DexClassNode(DexClassVisitor v, int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
-
DexClassNode
public DexClassNode(int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
-
-
Method Detail
-
accept
public void accept(DexClassVisitor dcv)
-
accept
public void accept(DexFileVisitor dfv)
-
visitAnnotation
public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
Description copied from interface:DexAnnotationAble
访问注解- Specified by:
visitAnnotation
in interfaceDexAnnotationAble
- Overrides:
visitAnnotation
in classDexClassVisitor
- Parameters:
name
- 注解名visibility
- 是否运行时可见- Returns:
-
visitField
public DexFieldVisitor visitField(int accessFlags, Field field, java.lang.Object value)
- Overrides:
visitField
in classDexClassVisitor
-
visitMethod
public DexMethodVisitor visitMethod(int accessFlags, Method method)
- Overrides:
visitMethod
in classDexClassVisitor
-
visitSource
public void visitSource(java.lang.String file)
- Overrides:
visitSource
in classDexClassVisitor
-
-