From 15ccc70c37ec477144e4f97cb6b0117588dec6da Mon Sep 17 00:00:00 2001 From: Graham Date: Sat, 3 Aug 2019 10:53:55 +0100 Subject: [PATCH] Add new remap package --- deob/src/main/java/dev/openrs2/deob/Deobfuscator.java | 3 ++- .../java/dev/openrs2/deob/{ => remap}/ClassNamePrefixer.java | 3 +-- .../dev/openrs2/deob/{classpath => remap}/TypedRemapper.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename deob/src/main/java/dev/openrs2/deob/{ => remap}/ClassNamePrefixer.java (93%) rename deob/src/main/java/dev/openrs2/deob/{classpath => remap}/TypedRemapper.java (99%) diff --git a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java index 2b5de72a..2d68cb91 100644 --- a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java +++ b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java @@ -10,7 +10,8 @@ import java.util.Map; import dev.openrs2.asm.Library; import dev.openrs2.asm.Transformer; import dev.openrs2.asm.classpath.ClassPath; -import dev.openrs2.deob.classpath.TypedRemapper; +import dev.openrs2.deob.remap.ClassNamePrefixer; +import dev.openrs2.deob.remap.TypedRemapper; import dev.openrs2.deob.transform.BitShiftTransformer; import dev.openrs2.deob.transform.CanvasTransformer; import dev.openrs2.deob.transform.ClassForNameTransformer; diff --git a/deob/src/main/java/dev/openrs2/deob/ClassNamePrefixer.java b/deob/src/main/java/dev/openrs2/deob/remap/ClassNamePrefixer.java similarity index 93% rename from deob/src/main/java/dev/openrs2/deob/ClassNamePrefixer.java rename to deob/src/main/java/dev/openrs2/deob/remap/ClassNamePrefixer.java index a4d200af..9d56218b 100644 --- a/deob/src/main/java/dev/openrs2/deob/ClassNamePrefixer.java +++ b/deob/src/main/java/dev/openrs2/deob/remap/ClassNamePrefixer.java @@ -1,9 +1,8 @@ -package dev.openrs2.deob; +package dev.openrs2.deob.remap; import java.util.HashMap; import dev.openrs2.asm.Library; -import dev.openrs2.deob.classpath.TypedRemapper; import dev.openrs2.deob.transform.ClassForNameTransformer; import org.objectweb.asm.commons.ClassRemapper; import org.objectweb.asm.commons.SimpleRemapper; diff --git a/deob/src/main/java/dev/openrs2/deob/classpath/TypedRemapper.java b/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.java similarity index 99% rename from deob/src/main/java/dev/openrs2/deob/classpath/TypedRemapper.java rename to deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.java index 8e891b09..3cf19c19 100644 --- a/deob/src/main/java/dev/openrs2/deob/classpath/TypedRemapper.java +++ b/deob/src/main/java/dev/openrs2/deob/remap/TypedRemapper.java @@ -1,4 +1,4 @@ -package dev.openrs2.deob.classpath; +package dev.openrs2.deob.remap; import java.util.HashMap; import java.util.List;