All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.sephiroth.android.library.asm.commons.vo.ClassMethodVo.kt Maven / Gradle / Ivy

Go to download

Android gradle plugin which inject at compile time method logging (initially forked from Hunter-Debug)

The newest version!
package it.sephiroth.android.library.asm.commons.vo


/**
 * AndroidDebugLog
 *
 * @author Alessandro Crugnola on 25.02.22 - 16:23
 */
data class ClassMethodVo(val className: String, val methodName: String, val descriptor: String, val opcode: Int) {

    fun matches(methodName: String?, descriptor: String?, opcode: Int): Boolean {
        return this.methodName == methodName && this.descriptor == descriptor && this.opcode == opcode
    }

    fun matches(methodName: String?, descriptor: String?): Boolean {
        return this.methodName == methodName && this.descriptor == descriptor
    }

    override fun toString(): String {
        return "$className.$methodName$descriptor"
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy