| java.lang.Object com.tc.asm.tree.MemberNode com.tc.asm.tree.MethodNode
All known Subclasses: com.tc.asm.commons.JSRInlinerAdapter,
Method Summary | |
public void | accept(ClassVisitor cv) Makes the given class visitor visit this method. | public void | accept(MethodVisitor mv) Makes the given method visitor visit this method. | public AnnotationVisitor | visitAnnotationDefault() | public void | visitCode() | public void | visitFieldInsn(int opcode, String owner, String name, String desc) | public void | visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) | public void | visitIincInsn(int var, int increment) | public void | visitInsn(int opcode) | public void | visitIntInsn(int opcode, int operand) | public void | visitJumpInsn(int opcode, Label label) | public void | visitLabel(Label label) | public void | visitLdcInsn(Object cst) | public void | visitLineNumber(int line, Label start) | public void | visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) | public void | visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) | public void | visitMaxs(int maxStack, int maxLocals) | public void | visitMethodInsn(int opcode, String owner, String name, String desc) | public void | visitMultiANewArrayInsn(String desc, int dims) | public AnnotationVisitor | visitParameterAnnotation(int parameter, String desc, boolean visible) | public void | visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) | public void | visitTryCatchBlock(Label start, Label end, Label handler, String type) | public void | visitTypeInsn(int opcode, String desc) | public void | visitVarInsn(int opcode, int var) |
access | public int access(Code) | | The method's access flags (see
Opcodes ). This field also
indicates if the method is synthetic and/or deprecated.
|
annotationDefault | public Object annotationDefault(Code) | | The default value of this annotation interface method. This field must be
a
Byte ,
Boolean ,
Character ,
Short ,
Integer ,
Long ,
Float ,
Double ,
String or
Type , or an two elements String array (for
enumeration values), a
AnnotationNode , or a
List of
values of one of the preceding types. May be null.
|
invisibleParameterAnnotations | public List[] invisibleParameterAnnotations(Code) | | The runtime invisible parameter annotations of this method. These lists
are lists of
AnnotationNode objects. May be null.
|
localVariables | public List localVariables(Code) | | The local variables of this method. This list is a list of
LocalVariableNode objects. May be null
|
maxLocals | public int maxLocals(Code) | | The maximum number of local variables of this method.
|
maxStack | public int maxStack(Code) | | The maximum stack size of this method.
|
signature | public String signature(Code) | | The method's signature. May be null.
|
visibleParameterAnnotations | public List[] visibleParameterAnnotations(Code) | | The runtime visible parameter annotations of this method. These lists are
lists of
AnnotationNode objects. May be null.
|
MethodNode | public MethodNode(int access, String name, String desc, String signature, String[] exceptions)(Code) | | Constructs a new
MethodNode .
Parameters: access - the method's access flags (see Opcodes). Thisparameter also indicates if the method is synthetic and/ordeprecated. Parameters: name - the method's name. Parameters: desc - the method's descriptor (see Type). Parameters: signature - the method's signature. May be null. Parameters: exceptions - the internal names of the method's exception classes(see Type.getInternalName getInternalName). May benull. |
accept | public void accept(ClassVisitor cv)(Code) | | Makes the given class visitor visit this method.
Parameters: cv - a class visitor. |
accept | public void accept(MethodVisitor mv)(Code) | | Makes the given method visitor visit this method.
Parameters: mv - a method visitor. |
visitCode | public void visitCode()(Code) | | |
visitFrame | public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack)(Code) | | |
visitIincInsn | public void visitIincInsn(int var, int increment)(Code) | | |
visitInsn | public void visitInsn(int opcode)(Code) | | |
visitIntInsn | public void visitIntInsn(int opcode, int operand)(Code) | | |
visitJumpInsn | public void visitJumpInsn(int opcode, Label label)(Code) | | |
visitLineNumber | public void visitLineNumber(int line, Label start)(Code) | | |
visitLookupSwitchInsn | public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels)(Code) | | |
visitMaxs | public void visitMaxs(int maxStack, int maxLocals)(Code) | | |
visitMultiANewArrayInsn | public void visitMultiANewArrayInsn(String desc, int dims)(Code) | | |
visitTableSwitchInsn | public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels)(Code) | | |
visitTypeInsn | public void visitTypeInsn(int opcode, String desc)(Code) | | |
visitVarInsn | public void visitVarInsn(int opcode, int var)(Code) | | |
|
|