com.zsqw123.catreflect.CatMethod.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cat-reflect Show documentation
Show all versions of cat-reflect Show documentation
Greatly simplifies the complexities of Kotlin's reflection of Java.
package com.zsqw123.catreflect
import com.zsqw123.catreflect.impl.CatMethodImpl
/**
* Author zsqw123
* Create by zsqw123
* Date 2021/12/23 8:40 上午
*/
abstract class CatMethod(
protected val clazz: CatClass, protected val methodName: String, protected var safe: Boolean = false
) : TypedArg {
companion object {
fun from(clazz: CatClass, methodName: String, safe: Boolean = false): CatMethod {
return CatMethodImpl(clazz, methodName, safe)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy