mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 08:39:12 +00:00
Fixed Verbose getter
This commit is contained in:
@@ -33,13 +33,13 @@ public class Getter implements Injectable {
|
|||||||
*/
|
*/
|
||||||
public Getter(final String into, final String fieldLocation, final String fieldNode,
|
public Getter(final String into, final String fieldLocation, final String fieldNode,
|
||||||
final String methodName, final String returnDesc, final boolean staticMethod) {
|
final String methodName, final String returnDesc, final boolean staticMethod) {
|
||||||
|
Core.verbose(methodName + "[" + fieldLocation + "." + fieldNode + "]");
|
||||||
this.into = ASMUtils.getClass(into);
|
this.into = ASMUtils.getClass(into);
|
||||||
this.fieldLocation = ASMUtils.getClass(fieldLocation);
|
this.fieldLocation = ASMUtils.getClass(fieldLocation);
|
||||||
this.fieldNode = ASMUtils.getField(ASMUtils.getClass(fieldLocation), fieldNode);
|
this.fieldNode = ASMUtils.getField(ASMUtils.getClass(fieldLocation), fieldNode);
|
||||||
this.methodName = methodName;
|
this.methodName = methodName;
|
||||||
this.returnDesc = returnDesc == null ? this.fieldNode.desc : returnDesc;
|
this.returnDesc = returnDesc == null ? this.fieldNode.desc : returnDesc;
|
||||||
this.staticMethod = staticMethod;
|
this.staticMethod = staticMethod;
|
||||||
Core.verbose(this.methodName.toString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user