Liyue
12/11/2020, 2:51 AMClassDescriptor
, but when i use
(AInstance as ClassDescriptor).unsubstitutedMemberScope.getContributedDescriptors().filterIsInstance<FunctionDescriptor>()
will get all default functions, such as toString
euqals
.
Is there any better method to get all member methods including static methods?Liyue
12/11/2020, 9:26 AM(AInstance as ClassDescriptor).staticScope.getContributedDescriptors()
Liyue
12/14/2020, 8:46 AMit.kind !=CallableMemberDescriptor.Kind.FAKE_OVERRIDE