Methods Summary |
---|
public void | visitAttribute(oracle.toplink.libraries.asm.Attribute attr)
attr.next = methodNode.codeAttrs;
methodNode.codeAttrs = attr;
|
public void | visitFieldInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc)
AbstractInsnNode n = new FieldInsnNode(opcode, owner, name, desc);
methodNode.instructions.add(n);
|
public void | visitIincInsn(int var, int increment)
AbstractInsnNode n = new IincInsnNode(var, increment);
methodNode.instructions.add(n);
|
public void | visitInsn(int opcode)
AbstractInsnNode n = new InsnNode(opcode);
methodNode.instructions.add(n);
|
public void | visitIntInsn(int opcode, int operand)
AbstractInsnNode n = new IntInsnNode(opcode, operand);
methodNode.instructions.add(n);
|
public void | visitJumpInsn(int opcode, oracle.toplink.libraries.asm.Label label)
AbstractInsnNode n = new JumpInsnNode(opcode, label);
methodNode.instructions.add(n);
|
public void | visitLabel(oracle.toplink.libraries.asm.Label label)
methodNode.instructions.add(label);
|
public void | visitLdcInsn(java.lang.Object cst)
AbstractInsnNode n = new LdcInsnNode(cst);
methodNode.instructions.add(n);
|
public void | visitLineNumber(int line, oracle.toplink.libraries.asm.Label start)
LineNumberNode n = new LineNumberNode(line, start);
methodNode.lineNumbers.add(n);
|
public void | visitLocalVariable(java.lang.String name, java.lang.String desc, oracle.toplink.libraries.asm.Label start, oracle.toplink.libraries.asm.Label end, int index)
LocalVariableNode n = new LocalVariableNode(name, desc, start, end, index);
methodNode.localVariables.add(n);
|
public void | visitLookupSwitchInsn(oracle.toplink.libraries.asm.Label dflt, int[] keys, oracle.toplink.libraries.asm.Label[] labels)
AbstractInsnNode n = new LookupSwitchInsnNode(dflt, keys, labels);
methodNode.instructions.add(n);
|
public void | visitMaxs(int maxStack, int maxLocals)
methodNode.maxStack = maxStack;
methodNode.maxLocals = maxLocals;
|
public void | visitMethodInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc)
AbstractInsnNode n = new MethodInsnNode(opcode, owner, name, desc);
methodNode.instructions.add(n);
|
public void | visitMultiANewArrayInsn(java.lang.String desc, int dims)
AbstractInsnNode n = new MultiANewArrayInsnNode(desc, dims);
methodNode.instructions.add(n);
|
public void | visitTableSwitchInsn(int min, int max, oracle.toplink.libraries.asm.Label dflt, oracle.toplink.libraries.asm.Label[] labels)
AbstractInsnNode n = new TableSwitchInsnNode(min, max, dflt, labels);
methodNode.instructions.add(n);
|
public void | visitTryCatchBlock(oracle.toplink.libraries.asm.Label start, oracle.toplink.libraries.asm.Label end, oracle.toplink.libraries.asm.Label handler, java.lang.String type)
TryCatchBlockNode n = new TryCatchBlockNode(start, end, handler, type);
methodNode.tryCatchBlocks.add(n);
|
public void | visitTypeInsn(int opcode, java.lang.String desc)
AbstractInsnNode n = new TypeInsnNode(opcode, desc);
methodNode.instructions.add(n);
|
public void | visitVarInsn(int opcode, int var)
AbstractInsnNode n = new VarInsnNode(opcode, var);
methodNode.instructions.add(n);
|