oday
03/20/2022, 10:08 PMimport kotlin.reflect.full.*
class Plant{
fun trim(){}
fun fertilize(){}
}
fun testAnnotations(){
val classObj = Plant::class
for (m in classObj.declaredMemberFunctions){
println(m.name)
}
}
declaredMemberFunctions
is still unrecognizedJoffrey
03/20/2022, 11:08 PMkotlin-reflect
?oday
03/21/2022, 11:10 AM