Package proguard.dexfile.reader.node
Class DexMethodNode
- java.lang.Object
-
- proguard.dexfile.reader.visitors.DexMethodVisitor
-
- proguard.dexfile.reader.node.DexMethodNode
-
- All Implemented Interfaces:
DexAnnotationAble
public class DexMethodNode extends DexMethodVisitor
-
-
Field Summary
Fields Modifier and Type Field Description int
access
java.util.List<DexAnnotationNode>
anns
DexCodeNode
codeNode
Method
method
java.util.List<DexAnnotationNode>[]
parameterAnns
-
Fields inherited from class proguard.dexfile.reader.visitors.DexMethodVisitor
visitor
-
-
Constructor Summary
Constructors Constructor Description DexMethodNode(int access, Method method)
DexMethodNode(DexMethodVisitor mv, int access, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(DexClassVisitor dcv)
void
accept(DexMethodVisitor mv)
DexAnnotationVisitor
visitAnnotation(java.lang.String name, Visibility visibility)
访问注解DexCodeVisitor
visitCode()
DexAnnotationAble
visitParameterAnnotation(int index)
-
Methods inherited from class proguard.dexfile.reader.visitors.DexMethodVisitor
visitEnd
-
-
-
-
Field Detail
-
access
public int access
-
anns
public java.util.List<DexAnnotationNode> anns
-
codeNode
public DexCodeNode codeNode
-
method
public Method method
-
parameterAnns
public java.util.List<DexAnnotationNode>[] parameterAnns
-
-
Constructor Detail
-
DexMethodNode
public DexMethodNode(DexMethodVisitor mv, int access, Method method)
-
DexMethodNode
public DexMethodNode(int access, Method method)
-
-
Method Detail
-
accept
public void accept(DexClassVisitor dcv)
-
accept
public void accept(DexMethodVisitor mv)
-
visitAnnotation
public DexAnnotationVisitor visitAnnotation(java.lang.String name, Visibility visibility)
Description copied from interface:DexAnnotationAble
访问注解- Specified by:
visitAnnotation
in interfaceDexAnnotationAble
- Overrides:
visitAnnotation
in classDexMethodVisitor
- Parameters:
name
- 注解名visibility
- 是否运行时可见- Returns:
-
visitCode
public DexCodeVisitor visitCode()
- Overrides:
visitCode
in classDexMethodVisitor
-
visitParameterAnnotation
public DexAnnotationAble visitParameterAnnotation(int index)
- Overrides:
visitParameterAnnotation
in classDexMethodVisitor
-
-