mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-29 06:01:03 +00:00
14 lines
573 B
Kotlin
14 lines
573 B
Kotlin
package app.revanced.patcher.extensions
|
|
|
|
import app.revanced.patcher.extensions.AnnotationExtensions.findAnnotationRecursively
|
|
import app.revanced.patcher.fingerprint.method.annotation.FuzzyPatternScanMethod
|
|
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint
|
|
|
|
object MethodFingerprintExtensions {
|
|
// TODO: Make this a property.
|
|
/**
|
|
* The [FuzzyPatternScanMethod] annotation of a [MethodFingerprint].
|
|
*/
|
|
val MethodFingerprint.fuzzyPatternScanMethod
|
|
get() = javaClass.findAnnotationRecursively(FuzzyPatternScanMethod::class)
|
|
} |