From c6d184c5c5a714c1fdd6c107ec9d0e84563d6d99 Mon Sep 17 00:00:00 2001 From: Graham Date: Tue, 27 Aug 2019 19:51:08 +0100 Subject: [PATCH] Convert OriginalNameTransformer to a standard Transformer --- deob/src/main/java/dev/openrs2/deob/Deobfuscator.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java index 523bb032..6a51070f 100644 --- a/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java +++ b/deob/src/main/java/dev/openrs2/deob/Deobfuscator.java @@ -32,6 +32,7 @@ public final class Deobfuscator { private static final Logger logger = LoggerFactory.getLogger(Deobfuscator.class); private static final ImmutableList TRANSFORMERS = ImmutableList.of( + new OriginalNameTransformer(), new HostCheckTransformer(), new RightClickTransformer(), new OpaquePredicateTransformer(), @@ -148,13 +149,6 @@ public final class Deobfuscator { transformer = new ClassForNameTransformer(unsignedRemapper); transformer.transform(unsignedClassPath); - /* add @OriginalName annotations */ - logger.info("Annotating classes and members with original names"); - transformer = new OriginalNameTransformer(); - transformer.transform(classPath); - transformer.transform(glClassPath); - transformer.transform(unsignedClassPath); - /* write output jars */ logger.info("Writing output jars");