https://kotlinlang.org logo
#reflect
Title
# reflect
u

udalov

12/07/2015, 1:13 PM
Copy code
fun KFunction<*>.isJvmStatic(): Boolean {
    val method = this.javaMethod ?: return false
    return Modifier.isStatic(method.modifiers)
}