W3cubDocs

/Kotlin

declaredFunctions

val KClass<*>.declaredFunctions: Collection<KFunction<*>>

Platform and version requirements: Kotlin 1.1, JVM

Returns all functions declared in this class. If this is a Java class, it includes all non-static methods (both extensions and non-extensions) declared in the class and the superclasses, as well as static methods declared in the class.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/declared-functions.html