mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-10 01:29:22 +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
|
||||
*/
|
||||
public String getname() {
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package ftbsc.lll.tools.nodes;
|
||||
|
||||
import ftbsc.lll.proxies.FieldProxy;
|
||||
import ftbsc.lll.proxies.MethodProxy;
|
||||
import org.objectweb.asm.tree.FieldInsnNode;
|
||||
|
||||
/**
|
||||
|
@ -15,14 +14,14 @@ 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
|
||||
* @param f a {@link FieldProxy} representing the field to call
|
||||
*/
|
||||
public FieldProxyInsnNode(int opcode, FieldProxy proxy) {
|
||||
public FieldProxyInsnNode(int opcode, FieldProxy f) {
|
||||
super(
|
||||
opcode,
|
||||
proxy.getParent().replace('.', '/'),
|
||||
proxy.getSrgName(),
|
||||
proxy.getDescriptor()
|
||||
f.getParent().replace('.', '/'),
|
||||
f.getName(),
|
||||
f.getDescriptor()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ public class MethodProxyInsnNode extends MethodInsnNode {
|
|||
super(
|
||||
opcode,
|
||||
m.getParent().replace('.', '/'),
|
||||
m.getSrgName(),
|
||||
m.getName(),
|
||||
m.getDescriptor()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue