W3cubDocs

/Kotlin

declaredFunctions

Platform and version requirements: JVM (1.1)
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.

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