declaredFunctions

val KClass<*>.declaredFunctions: Collection<KFunction<*>> (source)

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.