Visits a method instruction. A method instruction is an instruction that invokes a method. @param opcode the opcode of the type instruction to be visited. This opcode is either INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE. @param owner the internal name of the method's owner cl
(
final int opcode, final String owner, final String name, final String descriptor)
| 398 | * @deprecated |
| 399 | */ |
| 400 | @Deprecated |
| 401 | public void visitMethodInsn( |
| 402 | final int opcode, final String owner, final String name, final String descriptor) { |
| 403 | if (api >= Opcodes.ASM5) { |
| 404 | boolean isInterface = opcode == Opcodes.INVOKEINTERFACE; |
| 405 | visitMethodInsn(opcode, owner, name, descriptor, isInterface); |
| 406 | return; |
| 407 | } |
| 408 | if (mv != null) { |
| 409 | mv.visitMethodInsn(opcode, owner, name, descriptor); |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | /** |
| 414 | * Visits a method instruction. A method instruction is an instruction that invokes a method. |