void addInvokeVirtual(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKEVIRTUAL, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokevirtual() growStack(Descriptor.dataSize(descriptor) - 1); }
void addInvokeStatic(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKESTATIC, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokestatic() growStack(Descriptor.dataSize(descriptor)); }
void addInvokeInterface(String targetClass, String methodName, String descriptor, int count) { mw.addInvoke(Opcode.INVOKEINTERFACE, targetClass, methodName, descriptor); mw.add(count); mw.add(0); //Stolen from Bytecode.addInvokeinterface() growStack(Descriptor.dataSize(descriptor) - 1); }
void addInvokeSpecial(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKESPECIAL, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokespecial() growStack(Descriptor.dataSize(descriptor) - 1); }
void addInvokeStatic(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKESTATIC, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokestatic() growStack(Descriptor.dataSize(descriptor)); }
void addInvokeSpecial(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKESPECIAL, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokespecial() growStack(Descriptor.dataSize(descriptor) - 1); }
void addInvokeVirtual(String targetClass, String methodName, String descriptor) { mw.addInvoke(Opcode.INVOKEVIRTUAL, targetClass, methodName, descriptor); //Stolen from Bytecode.addInvokevirtual() growStack(Descriptor.dataSize(descriptor) - 1); }
void addInvokeInterface(String targetClass, String methodName, String descriptor, int count) { mw.addInvoke(Opcode.INVOKEINTERFACE, targetClass, methodName, descriptor); mw.add(count); mw.add(0); //Stolen from Bytecode.addInvokeinterface() growStack(Descriptor.dataSize(descriptor) - 1); }