public static class ASMWrapper.MethodVisitorAccess
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNull()
Check if the method visitor is null.
|
void |
visitEnd()
Visit the method end.
|
void |
visitFieldInsn(int opcode,
java.lang.String owner,
java.lang.String name,
java.lang.String descriptor)
Visit a field insn node.
|
void |
visitIincInsn(int varIndex,
int increment)
Visit an iinc insn node.
|
void |
visitInsn(int opcode)
Visit an insn node.
|
void |
visitIntInsn(int opcode,
int operand)
Visit an int insn node.
|
void |
visitJumpInsn(int opcode,
ASMWrapper.LabelAccess target)
Visit a jump insn node.
|
void |
visitLabel(ASMWrapper.LabelAccess label)
Visit a label.
|
void |
visitLdcInsn(java.lang.Object value)
Visit a ldc insn node.
|
void |
visitMaxs(int maxStack,
int maxLocals)
Visit the method maxs.
|
void |
visitMethodInsn(int opcode,
java.lang.String owner,
java.lang.String name,
java.lang.String descriptor,
boolean isInterface)
Visit a method insn node.
|
void |
visitMultiANewArrayInsn(java.lang.String descriptor,
int numDimensions)
Visit a multi a new array insn.
|
void |
visitTryCatchBlock(ASMWrapper.LabelAccess start,
ASMWrapper.LabelAccess end,
ASMWrapper.LabelAccess handler,
java.lang.String type)
Visit a try catch block.
|
void |
visitTypeInsn(int opcode,
java.lang.String type)
Visit a type insn node.
|
void |
visitVarInsn(int opcode,
int varIndex)
Visit a var insn node.
|
public boolean isNull()
public void visitInsn(int opcode)
opcode - The opcodepublic void visitIntInsn(int opcode,
int operand)
opcode - The opcodeoperand - The operandpublic void visitVarInsn(int opcode,
int varIndex)
opcode - The opcodevarIndex - The var indexpublic void visitTypeInsn(int opcode,
java.lang.String type)
opcode - The opcodetype - The typepublic void visitFieldInsn(int opcode,
java.lang.String owner,
java.lang.String name,
java.lang.String descriptor)
opcode - The opcodeowner - The ownername - The namedescriptor - The descriptorpublic void visitMethodInsn(int opcode,
java.lang.String owner,
java.lang.String name,
java.lang.String descriptor,
boolean isInterface)
opcode - The opcodeowner - The ownername - The namedescriptor - The descriptorisInterface - Whether the method is an interface methodpublic void visitJumpInsn(int opcode,
ASMWrapper.LabelAccess target)
opcode - The opcodetarget - The target labelpublic void visitLabel(ASMWrapper.LabelAccess label)
label - The labelpublic void visitLdcInsn(java.lang.Object value)
value - The valuepublic void visitIincInsn(int varIndex,
int increment)
varIndex - The var indexincrement - The incrementpublic void visitMultiANewArrayInsn(java.lang.String descriptor,
int numDimensions)
descriptor - The descriptornumDimensions - The number of dimensionspublic void visitTryCatchBlock(ASMWrapper.LabelAccess start, ASMWrapper.LabelAccess end, ASMWrapper.LabelAccess handler, java.lang.String type)
start - The start labelend - The end labelhandler - The handler labeltype - The typepublic void visitMaxs(int maxStack,
int maxLocals)
maxStack - The max stackmaxLocals - The max localspublic void visitEnd()