Another thought along the same lines: having a way...
# reflect
d
Another thought along the same lines: having a way to check if a
KParameter
on a constructor is a declared as a
val
or
var
. Ideally, you would also be able to obtain the
KProperty
with something like
parameter.property
(
.property
?
.memberProperty
?
.classProperty
?). Maybe
KParameter.Kind.PROPERTY
would be required?