declaredFunctions
val KClass<*>.declaredFunctions: Collection<KFunction<*>>
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.