mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-01 21:54:24 +02:00
20 lines
628 B
Kotlin
20 lines
628 B
Kotlin
package app.revanced.patcher.signature
|
|
|
|
import org.jf.dexlib2.Opcode
|
|
|
|
/**
|
|
* Represents a method signature.
|
|
* @param name A suggestive name for the method which the signature was created for.
|
|
* @param returnType The return type of the method.
|
|
* @param methodParameters The parameters of the method.
|
|
* @param opcodes A list of opcodes of the method.
|
|
* @param accessFlags The access flags of the method.
|
|
*/
|
|
@Suppress("ArrayInDataClass")
|
|
data class MethodSignature(
|
|
val name: String,
|
|
val returnType: String?,
|
|
val accessFlags: Int?,
|
|
val methodParameters: Iterable<String>?,
|
|
val opcodes: Iterable<Opcode>?
|
|
) |