|
|
@ -331,10 +331,13 @@ public abstract class Opcodes implements jode.bytecode.Opcodes { |
|
|
|
case opc_invokestatic : |
|
|
|
case opc_invokestatic : |
|
|
|
case opc_invokeinterface: { |
|
|
|
case opc_invokeinterface: { |
|
|
|
Reference ref = instr.getReference(); |
|
|
|
Reference ref = instr.getReference(); |
|
|
|
|
|
|
|
int flag = (ref.getName().equals("<init>") |
|
|
|
|
|
|
|
? InvokeOperator.CONSTRUCTOR |
|
|
|
|
|
|
|
: opcode == opc_invokestatic ? InvokeOperator.STATIC |
|
|
|
|
|
|
|
: opcode == opc_invokespecial ? InvokeOperator.SPECIAL |
|
|
|
|
|
|
|
: InvokeOperator.VIRTUAL); |
|
|
|
StructuredBlock block = createNormal |
|
|
|
StructuredBlock block = createNormal |
|
|
|
(ma, instr, new InvokeOperator |
|
|
|
(ma, instr, new InvokeOperator(ma, flag, ref)); |
|
|
|
(ma, opcode == opc_invokestatic, |
|
|
|
|
|
|
|
opcode == opc_invokespecial, ref)); |
|
|
|
|
|
|
|
return block; |
|
|
|
return block; |
|
|
|
} |
|
|
|
} |
|
|
|
case opc_new: { |
|
|
|
case opc_new: { |
|
|
|