public class DexClassVisitor extends java.lang.Object implements DexAnnotationAble
Modifier and Type | Field and Description |
---|---|
protected DexClassVisitor |
visitor |
Constructor and Description |
---|
DexClassVisitor() |
DexClassVisitor(DexClassVisitor dcv) |
Modifier and Type | Method and Description |
---|---|
DexAnnotationVisitor |
visitAnnotation(java.lang.String name,
Visibility visibility)
访问注解
|
void |
visitEnd() |
DexFieldVisitor |
visitField(int accessFlags,
Field field,
java.lang.Object value) |
DexMethodVisitor |
visitMethod(int accessFlags,
Method method) |
void |
visitSource(java.lang.String file) |
protected DexClassVisitor visitor
public DexClassVisitor()
public DexClassVisitor(DexClassVisitor dcv)
dcv
- public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
DexAnnotationAble
visitAnnotation
in interface DexAnnotationAble
name
- 注解名visibility
- 是否运行时可见public void visitEnd()
public DexFieldVisitor visitField(int accessFlags, Field field, java.lang.Object value)
public DexMethodVisitor visitMethod(int accessFlags, Method method)
public void visitSource(java.lang.String file)