mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-12 18:49:23 +01:00
fix: mistake in method names
This commit is contained in:
parent
211a24bfc8
commit
118fae8fe7
3 changed files with 7 additions and 8 deletions
|
@ -27,7 +27,7 @@ public abstract class AbstractProxy {
|
||||||
/**
|
/**
|
||||||
* @return the name of the item
|
* @return the name of the item
|
||||||
*/
|
*/
|
||||||
public String getname() {
|
public String getName() {
|
||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,14 +14,14 @@ 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
|
* @param f a {@link FieldProxy} representing the field to call
|
||||||
*/
|
*/
|
||||||
public FieldProxyInsnNode(int opcode, FieldProxy proxy) {
|
public FieldProxyInsnNode(int opcode, FieldProxy f) {
|
||||||
super(
|
super(
|
||||||
opcode,
|
opcode,
|
||||||
proxy.getParent().replace('.', '/'),
|
f.getParent().replace('.', '/'),
|
||||||
proxy.getSrgName(),
|
f.getName(),
|
||||||
proxy.getDescriptor()
|
f.getDescriptor()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ public class MethodProxyInsnNode extends MethodInsnNode {
|
||||||
super(
|
super(
|
||||||
opcode,
|
opcode,
|
||||||
m.getParent().replace('.', '/'),
|
m.getParent().replace('.', '/'),
|
||||||
m.getSrgName(),
|
m.getName(),
|
||||||
m.getDescriptor()
|
m.getDescriptor()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue