INNER CODE UNIT · Kotlin
Match
ReVanced/revanced-patcher · patcher/src/commonMain/kotlin/app/revanced/patcher/Fingerprint.kt:423
class Match internal constructor(
private val context: BytecodePatchContext,
val originalMethod: Method,
val patternMatch: PatternMatch?,
val stringMatches: List<StringMatch>?,
val originalClassDef: ClassDef,
) {
/**
* The mutable version of [originalClassDef].
*
* Accessing this property allocates a [ClassProxy].
* Use [originalClassDef] if mutable access is not required.
*/
val classDef by lazy { context.classDefs.getOrReplaceMutable(originalClassDef) }
/**
* The mutable version of [originalMethod].
*