| Modifier and Type | Field and Description |
|---|---|
| public String | desc
The method's descriptor (see |
| public boolean | itf
Whether the method's owner class if an interface. |
| public String | name
The method's name. |
| public String | owner
The internal name of the method's owner class (see |
| Access | Constructor and Description |
|---|---|
| public | MethodInsnNode(final int
the opcode of the type instruction to be constructed. This opcode must be
INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE. opcode, final String the internal name of the method's owner class (see owner, final String org.objectweb.asm.Type#getInternalName()).the method's name. name, final String the method's descriptor (see descriptor)org.objectweb.asm.Type).Constructs a new |
| public | MethodInsnNode(final int
the opcode of the type instruction to be constructed. This opcode must be
INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE. opcode, final String the internal name of the method's owner class (see owner, final String org.objectweb.asm.Type#getInternalName()).the method's name. name, final String the method's descriptor (see descriptor, final boolean org.objectweb.asm.Type).if the method's owner class is an interface. isInterface)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final MethodVisitor
a method visitor. methodVisitor)Implements abstract org. |
| public AbstractInsnNode | clone(final Map<LabelNode, LabelNode>
a map from LabelNodes to cloned LabelNodes. clonedLabels)Implements abstract org. |
| public int | getType()
Implements abstract org. |
| public void | setOpcode(final int
the new instruction opcode. This opcode must be INVOKEVIRTUAL, INVOKESPECIAL,
INVOKESTATIC or INVOKEINTERFACE. opcode)Sets the opcode of this instruction. |
| desc | back to summary |
|---|---|
| public String desc The method's descriptor (see | |
| itf | back to summary |
|---|---|
| public boolean itf Whether the method's owner class if an interface. | |
| name | back to summary |
|---|---|
| public String name The method's name. | |
| owner | back to summary |
|---|---|
| public String owner The internal name of the method's owner class (see For methods of arrays, e.g., | |
| MethodInsnNode | back to summary |
|---|---|
| public MethodInsnNode(final int opcode, final String owner, final String name, final String descriptor) Constructs a new
| |
| MethodInsnNode | back to summary |
|---|---|
| public MethodInsnNode(final int opcode, final String owner, final String name, final String descriptor, final boolean isInterface) Constructs a new
| |
| accept | back to summary |
|---|---|
| public void accept(final MethodVisitor methodVisitor) Implements abstract org. Doc from org. Makes the given method visitor visit this instruction.
| |
| clone | back to summary |
|---|---|
| public AbstractInsnNode clone(final Map<LabelNode, LabelNode> clonedLabels) Implements abstract org. Doc from org. Returns a copy of this instruction. | |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Returns the type of this instruction.
| |
| setOpcode | back to summary |
|---|---|
| public void setOpcode(final int opcode) Sets the opcode of this instruction.
| |