diff --git a/test/MergeTest.java b/test/MergeTest.java index a20b3f5..27bb505 100644 --- a/test/MergeTest.java +++ b/test/MergeTest.java @@ -1,4 +1,4 @@ -import dev.w1zzrd.asm.Merger; +import dev.w1zzrd.asm.Combine; public class MergeTest { @@ -14,7 +14,7 @@ public class MergeTest { } public String test(){ - Class c = Merger.class; + Class c = Combine.class; Runnable r = () -> { System.out.println("Sick"); System.out.println(c.getName()); diff --git a/test/Test.java b/test/Test.java index 4a00df8..cc23695 100644 --- a/test/Test.java +++ b/test/Test.java @@ -1,6 +1,6 @@ import dev.w1zzrd.asm.Combine; import dev.w1zzrd.asm.GraftSource; -import dev.w1zzrd.asm.Merger; +import dev.w1zzrd.asm.Loader; import dev.w1zzrd.asm.analysis.FrameState; import dev.w1zzrd.asm.signature.TypeSignature; import jdk.internal.org.objectweb.asm.tree.ClassNode; @@ -14,8 +14,8 @@ import java.util.Stack; public class Test { public static void main(String... args) throws IOException { - ClassNode target = Merger.getClassNode("MergeTest"); - ClassNode inject = Merger.getClassNode("MergeInject"); + ClassNode target = Loader.getClassNode("MergeTest"); + ClassNode inject = Loader.getClassNode("MergeInject"); MethodNode stackTest = target.methods.stream().filter(it -> it.name.equals("stackTest")).findFirst().get();