mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-21 23:14:51 +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;
|
package ftbsc.lll.tools.nodes;
|
||||||
|
|
||||||
import ftbsc.lll.proxies.FieldProxy;
|
import ftbsc.lll.proxies.FieldProxy;
|
||||||
|
import ftbsc.lll.proxies.MethodProxy;
|
||||||
import org.objectweb.asm.tree.FieldInsnNode;
|
import org.objectweb.asm.tree.FieldInsnNode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -14,6 +15,7 @@ public class FieldProxyInsnNode extends FieldInsnNode {
|
||||||
* from a {@link FieldProxy}.
|
* from a {@link FieldProxy}.
|
||||||
* @param opcode the opcode, must be one of GETSTATIC, PUTSTATIC,
|
* @param opcode the opcode, must be one of GETSTATIC, PUTSTATIC,
|
||||||
* GETFIELD or PUTFIELD
|
* GETFIELD or PUTFIELD
|
||||||
|
* @param a {@link FieldProxy} representing the field to call
|
||||||
*/
|
*/
|
||||||
public FieldProxyInsnNode(int opcode, FieldProxy proxy) {
|
public FieldProxyInsnNode(int opcode, FieldProxy proxy) {
|
||||||
super(
|
super(
|
||||||
|
@ -23,4 +25,4 @@ public class FieldProxyInsnNode extends FieldInsnNode {
|
||||||
proxy.getDescriptor()
|
proxy.getDescriptor()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,9 @@ public class MethodProxyInsnNode extends MethodInsnNode {
|
||||||
* from a {@link MethodProxy}.
|
* from a {@link MethodProxy}.
|
||||||
* @param opcode the opcode, must be one of INVOKEVIRTUAL,
|
* @param opcode the opcode, must be one of INVOKEVIRTUAL,
|
||||||
* INVOKESPECIAL, INVOKESTATIC or INVOKEINTERFACE
|
* 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(
|
super(
|
||||||
opcode,
|
opcode,
|
||||||
m.getParent().replace('.', '/'),
|
m.getParent().replace('.', '/'),
|
||||||
|
@ -24,4 +25,4 @@ public class MethodProxyInsnNode extends MethodInsnNode {
|
||||||
m.getDescriptor()
|
m.getDescriptor()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue