Get enclosing class from KProperty1

It requires the annotation library. If you don’t have it already it’s probably overkill to require it for this feature, especially since getAnnotation(class) works perfectly correctly.

1 Like