public class CollectMethodData
extends org.objectweb.asm.MethodVisitor
Constructor and Description |
---|
CollectMethodData(CollectClassData.ClassType classType,
int access,
String name,
String desc,
String signature,
String[] exceptions)
Prepare to collect data for a method from bytecode.
|
Modifier and Type | Method and Description |
---|---|
int |
getAccess() |
List<CollectAnnotationData> |
getAnnotations() |
List<CollectAnnotationData>[] |
getArgAnnotations() |
String[] |
getArgNames() |
org.objectweb.asm.Type[] |
getArgTypes() |
String |
getDesc() |
String[] |
getExceptions() |
String |
getName() |
String |
getSignature() |
boolean |
hasActualArgNames() |
String |
toString() |
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(String desc,
boolean visible) |
void |
visitLocalVariable(String name,
String desc,
String signature,
org.objectweb.asm.Label start,
org.objectweb.asm.Label end,
int index) |
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int parameter,
String desc,
boolean visible) |
visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
public CollectMethodData(CollectClassData.ClassType classType, int access, String name, String desc, String signature, String[] exceptions)
classType
- access
- name
- desc
- signature
- exceptions
- public int getAccess()
public List<CollectAnnotationData> getAnnotations()
public List<CollectAnnotationData>[] getArgAnnotations()
public String[] getArgNames()
public org.objectweb.asm.Type[] getArgTypes()
public String getDesc()
public String[] getExceptions()
public String getName()
public String getSignature()
public boolean hasActualArgNames()
public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
visitAnnotation
in class org.objectweb.asm.MethodVisitor
public void visitLocalVariable(String name, String desc, String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index)
visitLocalVariable
in class org.objectweb.asm.MethodVisitor
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible)
visitParameterAnnotation
in class org.objectweb.asm.MethodVisitor
Copyright © 2018. All rights reserved.