Package proguard.dexfile.reader.visitors
Class DexClassVisitor
- java.lang.Object
-
- proguard.dexfile.reader.visitors.DexClassVisitor
-
- All Implemented Interfaces:
DexAnnotationAble
- Direct Known Subclasses:
DexClassNode
public class DexClassVisitor extends java.lang.Object implements DexAnnotationAble
-
-
Field Summary
Fields Modifier and Type Field Description protected DexClassVisitor
visitor
-
Constructor Summary
Constructors Constructor Description DexClassVisitor()
DexClassVisitor(DexClassVisitor dcv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
visitor
protected DexClassVisitor visitor
-
-
Constructor Detail
-
DexClassVisitor
public DexClassVisitor()
-
DexClassVisitor
public DexClassVisitor(DexClassVisitor dcv)
- Parameters:
dcv
-
-
-
Method Detail
-
visitAnnotation
public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
Description copied from interface:DexAnnotationAble
访问注解- Specified by:
visitAnnotation
in interfaceDexAnnotationAble
- Parameters:
name
- 注解名visibility
- 是否运行时可见- Returns:
-
visitEnd
public void visitEnd()
-
visitField
public DexFieldVisitor visitField(int accessFlags, Field field, java.lang.Object value)
-
visitMethod
public DexMethodVisitor visitMethod(int accessFlags, Method method)
-
visitSource
public void visitSource(java.lang.String file)
-
-