summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java4
-rw-r--r--src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java
index 34a0d67..d8e733d 100644
--- a/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java
+++ b/src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java
@@ -1,6 +1,7 @@
package ftbsc.lll.tools.nodes;
import ftbsc.lll.proxies.FieldProxy;
+import ftbsc.lll.proxies.MethodProxy;
import org.objectweb.asm.tree.FieldInsnNode;
/**
@@ -14,6 +15,7 @@ public class FieldProxyInsnNode extends FieldInsnNode {
* from a {@link FieldProxy}.
* @param opcode the opcode, must be one of GETSTATIC, PUTSTATIC,
* GETFIELD or PUTFIELD
+ * @param a {@link FieldProxy} representing the field to call
*/
public FieldProxyInsnNode(int opcode, FieldProxy proxy) {
super(
@@ -23,4 +25,4 @@ public class FieldProxyInsnNode extends FieldInsnNode {
proxy.getDescriptor()
);
}
-} \ No newline at end of file
+}
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
+}