From 289dd2846faa6368b9b02bff83598687c636d9e8 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Tue, 28 Mar 2023 00:43:02 +0200 Subject: chore: renamed BytecodePrinter methods --- src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/ftbsc/lll/tools/debug/BytecodePrinter.java') 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)); -- cgit v1.2.3-56-ga3b1