Convert RemapTransformer to Kotlin

bzip2
Graham 5 years ago
parent fb18a7227d
commit d7e3799f5c
  1. 12
      deob/src/main/java/dev/openrs2/deob/transform/RemapTransformer.java
  2. 11
      deob/src/main/java/dev/openrs2/deob/transform/RemapTransformer.kt

@ -1,12 +0,0 @@
package dev.openrs2.deob.transform;
import dev.openrs2.asm.classpath.ClassPath;
import dev.openrs2.asm.transform.Transformer;
import dev.openrs2.deob.remap.TypedRemapper;
public final class RemapTransformer extends Transformer {
@Override
protected void preTransform(ClassPath classPath) {
classPath.remap(TypedRemapper.create(classPath));
}
}

@ -0,0 +1,11 @@
package dev.openrs2.deob.transform
import dev.openrs2.asm.classpath.ClassPath
import dev.openrs2.asm.transform.Transformer
import dev.openrs2.deob.remap.TypedRemapper
class RemapTransformer : Transformer() {
override fun preTransform(classPath: ClassPath) {
classPath.remap(TypedRemapper.create(classPath))
}
}
Loading…
Cancel
Save