com.flyjingfish.android_aop_plugin.beans.MatchMethodInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android-aop-plugin Show documentation
Show all versions of android-aop-plugin Show documentation
Lightweight Aop for Android platform, you deserve it, action is worse than your heartbeat
package com.flyjingfish.android_aop_plugin.beans
class MatchMethodInfo {
lateinit var name: String
var returnType: String? = null
var paramTypes: String? = null
override fun toString(): String {
return "MatchMethodInfo(name='$name', returnType=$returnType, paramTypes=$paramTypes)"
}
fun checkAvailable():Boolean{
return name.isNotEmpty() && !returnType.isNullOrEmpty() && !paramTypes.isNullOrEmpty()
}
}