From afb52c2e9361bd937355fe468ddc2e1edd673f5b Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 26 Dec 2019 18:59:49 +0000 Subject: [PATCH] Convert Transformer to Kotlin --- .../java/dev/openrs2/deob/ast/transform/Transformer.java | 7 ------- .../java/dev/openrs2/deob/ast/transform/Transformer.kt | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.java create mode 100644 deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.kt diff --git a/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.java b/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.java deleted file mode 100644 index afcaac67b9..0000000000 --- a/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.java +++ /dev/null @@ -1,7 +0,0 @@ -package dev.openrs2.deob.ast.transform; - -import com.github.javaparser.ast.CompilationUnit; - -public abstract class Transformer { - public abstract void transform(CompilationUnit unit); -} diff --git a/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.kt b/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.kt new file mode 100644 index 0000000000..75454a415a --- /dev/null +++ b/deob-ast/src/main/java/dev/openrs2/deob/ast/transform/Transformer.kt @@ -0,0 +1,7 @@ +package dev.openrs2.deob.ast.transform + +import com.github.javaparser.ast.CompilationUnit + +abstract class Transformer { + abstract fun transform(unit: CompilationUnit) +}