feat: add fuzzy resolver

fixed docs for MethodSignature & added tests for fuzzy resolver
This commit is contained in:
Lucaskyy
2022-04-13 20:17:31 +02:00
committed by oSumAtrIX
parent 18853f70a4
commit 7a56dca004
3 changed files with 47 additions and 26 deletions

View File

@@ -38,7 +38,7 @@ internal class PatcherTest {
comment = "Main method of TestClass. Version 1.0.0"
),
patcher = PatcherMetadata(
method = PatcherMethod.Fuzzy(2)
method = ResolverMethod.Fuzzy(2)
)
),
"V",
@@ -46,7 +46,7 @@ internal class PatcherTest {
listOf("[L"),
listOf(
Opcode.CONST_STRING,
Opcode.INVOKE_VIRTUAL,
Opcode.INVOKE_STATIC, // This is intentionally wrong to test the Fuzzy resolver.
Opcode.RETURN_VOID
)
)