summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/tools/debug
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-28 00:43:02 +0200
committer zaaarf <zaaarf@proton.me>2023-03-28 00:43:02 +0200
commit289dd2846faa6368b9b02bff83598687c636d9e8 (patch)
tree8deefc396bf9c8f63a21ad8763e81da2502d013a /src/main/java/ftbsc/lll/tools/debug
parent7a9f01e60f28bd73adfc2ceaf49e092c02a8725f (diff)
chore: renamed BytecodePrinter methods0.4.0
Diffstat (limited to 'src/main/java/ftbsc/lll/tools/debug')
-rw-r--r--src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java b/src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java
index c08d85c..b6dd8db 100644
--- a/src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java
+++ b/src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java
@@ -33,7 +33,7 @@ public class BytecodePrinter {
* Prints the bytecode of a method using System.out.print().
* @param main the method to print
*/
- public static void printAsmMethod(final MethodNode main) {
+ public static void printMethod(final MethodNode main) {
for (AbstractInsnNode i : main.instructions.toArray())
System.out.print(insnToString(i));
}
@@ -43,7 +43,7 @@ public class BytecodePrinter {
* @param main the method to print
* @param logger the Log4j {@link Logger} to print it with
*/
- public static void logAsmMethod(final MethodNode main, final Logger logger) {
+ public static void logMethod(final MethodNode main, final Logger logger) {
for (AbstractInsnNode i : main.instructions.toArray())
logger.debug(insnToString(i));
}
@@ -53,7 +53,7 @@ public class BytecodePrinter {
* @param main the method to print
* @param path the file to log it to
*/
- public static void logAsmMethod(final MethodNode main, String path) {
+ public static void logMethod(final MethodNode main, String path) {
StringBuilder out = new StringBuilder();
for (AbstractInsnNode i : main.instructions.toArray())
out.append(insnToString(i));