mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
Added verbose to getter
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
package org.parabot;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.swing.UIManager;
|
||||
|
||||
import org.parabot.core.Core;
|
||||
import org.parabot.core.Directories;
|
||||
import org.parabot.core.forum.AccountManager;
|
||||
@@ -12,6 +7,9 @@ import org.parabot.core.ui.LoginUI;
|
||||
import org.parabot.core.ui.ServerSelector;
|
||||
import org.parabot.core.ui.utils.UILog;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Parabot v2
|
||||
*
|
||||
|
||||
@@ -2,6 +2,7 @@ package org.parabot.core.asm.wrappers;
|
||||
|
||||
import org.objectweb.asm.tree.ClassNode;
|
||||
import org.objectweb.asm.tree.FieldNode;
|
||||
import org.parabot.core.Core;
|
||||
import org.parabot.core.asm.ASMUtils;
|
||||
import org.parabot.core.asm.adapters.AddGetterAdapter;
|
||||
import org.parabot.core.asm.interfaces.Injectable;
|
||||
@@ -38,6 +39,7 @@ public class Getter implements Injectable {
|
||||
this.methodName = methodName;
|
||||
this.returnDesc = returnDesc == null ? this.fieldNode.desc : returnDesc;
|
||||
this.staticMethod = staticMethod;
|
||||
Core.verbose(this.methodName.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,7 +63,7 @@ public class Getter implements Injectable {
|
||||
*/
|
||||
@Override
|
||||
public void inject() {
|
||||
getAdapter().inject();
|
||||
getAdapter().inject();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user