feat: apply changes from ReVanced Patcher

BREAKING-CHANGE: Some annotations have been removed regarding fingerprints and patches.
This commit is contained in:
oSumAtrIX
2022-11-23 00:01:40 +01:00
parent 75df245ec3
commit ba9d998681
6 changed files with 10 additions and 56 deletions

View File

@@ -1,17 +1,11 @@
package app.revanced.patcher.usage.bytecode
import app.revanced.patcher.annotation.Name
import app.revanced.patcher.annotation.Version
import app.revanced.patcher.extensions.or
import app.revanced.patcher.fingerprint.method.annotation.FuzzyPatternScanMethod
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
import org.jf.dexlib2.AccessFlags
import org.jf.dexlib2.Opcode
@Name("example-fingerprint")
@FuzzyPatternScanMethod(2)
@ExampleBytecodeCompatibility
@Version("0.0.1")
object ExampleFingerprint : MethodFingerprint(
"V",
AccessFlags.PUBLIC or AccessFlags.STATIC,