mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-29 14:11:03 +00:00
refactor: make method a property
This commit is contained in:
@@ -51,7 +51,7 @@ internal class PatcherTest {
|
||||
// Get the result from the resolver cache
|
||||
val result = cache.methodMap["main-method"]
|
||||
// Get the implementation for the resolved method
|
||||
val implementation = result.method().implementation!!
|
||||
val implementation = result.method.implementation!!
|
||||
// Let's modify it, so it prints "Hello, ReVanced! Editing bytecode."
|
||||
// Get the start index of our opcode pattern.
|
||||
// This will be the index of the instruction with the opcode CONST_STRING.
|
||||
|
||||
Reference in New Issue
Block a user