diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-04 01:43:55 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-04 01:44:19 +0100 |
commit | 211a24bfc8b0d34b193161e7a48632bc1809fcfe (patch) | |
tree | 21314066cb5c48b3db9cfe1889639b2bb07dd096 /src | |
parent | 52dbb847a4c152f3f2abca7804ba5df4caadd8e1 (diff) |
fix: docs and method order in proxies
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/ftbsc/lll/tools/nodes/FieldProxyInsnNode.java | 4 | ||||
-rw-r--r-- | src/main/java/ftbsc/lll/tools/nodes/MethodProxyInsnNode.java | 5 |
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 +} |