summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java')
-rw-r--r--src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java
index 10c091e..a7c7486 100644
--- a/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java
+++ b/src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java
@@ -15,8 +15,9 @@ public class MethodProxyInsnNode extends MethodInsnNode {
* from a {@link MethodProxy}.
* @param opcode the opcode, must be one of INVOKEVIRTUAL,
* INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE
+ * @param m a {@link MethodProxy} representing the method to call
*/
- public MethodProxyInsnNode(MethodProxy m, int opcode) {
+ public MethodProxyInsnNode(int opcode, MethodProxy m) {
super(
opcode,
m.getParent().replace('.', '/'),
@@ -24,4 +25,4 @@ public class MethodProxyInsnNode extends MethodInsnNode {
m.getDescriptor()
);
}
-} \ No newline at end of file
+}