Hi guys, Is there a way to get from `DClass` the l...
# dokka
j
Hi guys, Is there a way to get from
DClass
the list of child classes `DRI`(List of classes which extended current class)? And for
DFunction
get the method
DRI
, which was override by current method. So If I have class :
Copy code
class Fruit{
 fun grow()
}

class Apple: Fruit{
 override fun grow()
}
So, from
DClass
of
Fruit
I want to get info, that it was extended by
Apple
. And from
DFunction
of
Apple.grow()
that it overrode
Fruit.grow()
.
m
As for the DClass: It should be in
InheritorsInfo
extra. The information about the function that is overrides is in
InheritedMember
j
thanks