mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-24 16:34:48 +01:00
fix: docs and method order in proxies
This commit is contained in:
parent
52dbb847a4
commit
211a24bfc8
2 changed files with 6 additions and 3 deletions
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue