public class DexClassNode extends DexClassVisitor
Modifier and Type | Field and 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 |
visitor
Constructor and Description |
---|
DexClassNode(DexClassVisitor v,
int access,
java.lang.String className,
java.lang.String superClass,
java.lang.String[] interfaceNames) |
DexClassNode(int access,
java.lang.String className,
java.lang.String superClass,
java.lang.String[] interfaceNames) |
Modifier and Type | Method and 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) |
visitEnd
public int access
public java.util.List<DexAnnotationNode> anns
public java.lang.String className
public java.util.List<DexFieldNode> fields
public java.lang.String[] interfaceNames
public java.util.List<DexMethodNode> methods
public java.lang.String source
public java.lang.String superClass
public DexClassNode(DexClassVisitor v, int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
public DexClassNode(int access, java.lang.String className, java.lang.String superClass, java.lang.String[] interfaceNames)
public void accept(DexClassVisitor dcv)
public void accept(DexFileVisitor dfv)
public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
DexAnnotationAble
visitAnnotation
in interface DexAnnotationAble
visitAnnotation
in class DexClassVisitor
name
- 注解名visibility
- 是否运行时可见public DexFieldVisitor visitField(int accessFlags, Field field, java.lang.Object value)
visitField
in class DexClassVisitor
public DexMethodVisitor visitMethod(int accessFlags, Method method)
visitMethod
in class DexClassVisitor
public void visitSource(java.lang.String file)
visitSource
in class DexClassVisitor