mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-04-30 13:24:26 +02:00
Cleanup
This commit is contained in:
parent
fc64bbc32a
commit
f45dd511f3
@ -14,7 +14,7 @@ import java.io.OutputStream
|
|||||||
* @param input the input stream to read from, must be a JAR
|
* @param input the input stream to read from, must be a JAR
|
||||||
* @param signatures the signatures
|
* @param signatures the signatures
|
||||||
*/
|
*/
|
||||||
class Patcher (
|
class Patcher(
|
||||||
input: InputStream,
|
input: InputStream,
|
||||||
signatures: Array<Signature>,
|
signatures: Array<Signature>,
|
||||||
) {
|
) {
|
||||||
|
@ -12,7 +12,7 @@ import org.objectweb.asm.tree.MethodNode
|
|||||||
|
|
||||||
private val logger = KotlinLogging.logger("MethodResolver")
|
private val logger = KotlinLogging.logger("MethodResolver")
|
||||||
|
|
||||||
internal class MethodResolver(private val classList: List<ClassNode>, private val signatures: Array<Signature>) {
|
internal class MethodResolver(private val classList: List<ClassNode>, private val signatures: Array<Signature>) {
|
||||||
fun resolve(): MutableMap<String, PatchData> {
|
fun resolve(): MutableMap<String, PatchData> {
|
||||||
val patchData = mutableMapOf<String, PatchData>()
|
val patchData = mutableMapOf<String, PatchData>()
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package net.revanced.patcher.signature
|
package net.revanced.patcher.signature
|
||||||
|
|
||||||
import org.objectweb.asm.Type
|
import org.objectweb.asm.Type
|
||||||
import org.objectweb.asm.tree.ParameterNode
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An ASM signature list for the Patcher.
|
* An ASM signature list for the Patcher.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user