From d5c66022c9817721219340a2af48e7173edc630d Mon Sep 17 00:00:00 2001 From: Sculas Date: Sun, 31 Jul 2022 15:01:13 +0200 Subject: [PATCH] refactor: get rid of package names in example --- .../bytecode/{annotation => }/ExampleBytecodeCompatibility.kt | 2 +- .../usage/bytecode/{patch => }/ExampleBytecodePatch.kt | 4 ++-- .../usage/bytecode/{fingerprints => }/ExampleFingerprint.kt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/test/kotlin/app/revanced/patcher/usage/bytecode/{annotation => }/ExampleBytecodeCompatibility.kt (85%) rename src/test/kotlin/app/revanced/patcher/usage/bytecode/{patch => }/ExampleBytecodePatch.kt (98%) rename src/test/kotlin/app/revanced/patcher/usage/bytecode/{fingerprints => }/ExampleFingerprint.kt (87%) diff --git a/src/test/kotlin/app/revanced/patcher/usage/bytecode/annotation/ExampleBytecodeCompatibility.kt b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodeCompatibility.kt similarity index 85% rename from src/test/kotlin/app/revanced/patcher/usage/bytecode/annotation/ExampleBytecodeCompatibility.kt rename to src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodeCompatibility.kt index 842e2ce..5c8c8b8 100644 --- a/src/test/kotlin/app/revanced/patcher/usage/bytecode/annotation/ExampleBytecodeCompatibility.kt +++ b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodeCompatibility.kt @@ -1,4 +1,4 @@ -package app.revanced.patcher.usage.bytecode.annotation +package app.revanced.patcher.usage.bytecode import app.revanced.patcher.annotation.Compatibility import app.revanced.patcher.annotation.Package diff --git a/src/test/kotlin/app/revanced/patcher/usage/bytecode/patch/ExampleBytecodePatch.kt b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt similarity index 98% rename from src/test/kotlin/app/revanced/patcher/usage/bytecode/patch/ExampleBytecodePatch.kt rename to src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt index 095e2b7..0b7c63e 100644 --- a/src/test/kotlin/app/revanced/patcher/usage/bytecode/patch/ExampleBytecodePatch.kt +++ b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleBytecodePatch.kt @@ -1,4 +1,4 @@ -package app.revanced.patcher.usage.bytecode.patch +package app.revanced.patcher.usage.bytecode import app.revanced.patcher.annotation.Description import app.revanced.patcher.annotation.Name @@ -11,7 +11,7 @@ import app.revanced.patcher.patch.PatchResult import app.revanced.patcher.patch.PatchResultSuccess import app.revanced.patcher.patch.annotations.Patch import app.revanced.patcher.patch.impl.BytecodePatch -import app.revanced.patcher.usage.bytecode.fingerprints.ExampleFingerprint +import app.revanced.patcher.usage.bytecode.ExampleFingerprint import app.revanced.patcher.usage.resource.annotation.ExampleResourceCompatibility import app.revanced.patcher.util.proxy.mutableTypes.MutableField.Companion.toMutable import app.revanced.patcher.util.proxy.mutableTypes.MutableMethod.Companion.toMutable diff --git a/src/test/kotlin/app/revanced/patcher/usage/bytecode/fingerprints/ExampleFingerprint.kt b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleFingerprint.kt similarity index 87% rename from src/test/kotlin/app/revanced/patcher/usage/bytecode/fingerprints/ExampleFingerprint.kt rename to src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleFingerprint.kt index 63acbaa..2695e9a 100644 --- a/src/test/kotlin/app/revanced/patcher/usage/bytecode/fingerprints/ExampleFingerprint.kt +++ b/src/test/kotlin/app/revanced/patcher/usage/bytecode/ExampleFingerprint.kt @@ -1,4 +1,4 @@ -package app.revanced.patcher.usage.bytecode.fingerprints +package app.revanced.patcher.usage.bytecode import app.revanced.patcher.annotation.Name import app.revanced.patcher.annotation.Version @@ -6,7 +6,7 @@ import app.revanced.patcher.extensions.or import app.revanced.patcher.fingerprint.method.annotation.FuzzyPatternScanMethod import app.revanced.patcher.fingerprint.method.annotation.MatchingMethod import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint -import app.revanced.patcher.usage.bytecode.annotation.ExampleBytecodeCompatibility +import app.revanced.patcher.usage.bytecode.ExampleBytecodeCompatibility import org.jf.dexlib2.AccessFlags import org.jf.dexlib2.Opcode