public class DexMethodNode extends DexMethodVisitor
Modifier and Type | Field and Description |
---|---|
int |
access |
java.util.List<DexAnnotationNode> |
anns |
DexCodeNode |
codeNode |
Method |
method |
java.util.List<DexAnnotationNode>[] |
parameterAnns |
visitor
Constructor and Description |
---|
DexMethodNode(DexMethodVisitor mv,
int access,
Method method) |
DexMethodNode(int access,
Method method) |
Modifier and Type | Method and Description |
---|---|
void |
accept(DexClassVisitor dcv) |
void |
accept(DexMethodVisitor mv) |
DexAnnotationVisitor |
visitAnnotation(java.lang.String name,
Visibility visibility)
访问注解
|
DexCodeVisitor |
visitCode() |
DexAnnotationAble |
visitParameterAnnotation(int index) |
visitEnd
public int access
public java.util.List<DexAnnotationNode> anns
public DexCodeNode codeNode
public Method method
public java.util.List<DexAnnotationNode>[] parameterAnns
public DexMethodNode(DexMethodVisitor mv, int access, Method method)
public DexMethodNode(int access, Method method)
public void accept(DexClassVisitor dcv)
public void accept(DexMethodVisitor mv)
public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
DexAnnotationAble
visitAnnotation
in interface DexAnnotationAble
visitAnnotation
in class DexMethodVisitor
name
- 注解名visibility
- 是否运行时可见public DexCodeVisitor visitCode()
visitCode
in class DexMethodVisitor
public DexAnnotationAble visitParameterAnnotation(int index)
visitParameterAnnotation
in class DexMethodVisitor