I'm trying to break up a large class by using class delegates (to avoid suppressing Detekt's TooLargeClass error), but finding it's not possible to access variables in the container class. How do folks handle something like this?
class ContainerClass : X by ClassDelegate() {
val something
}
class ClassDelegate {
fun blah {
// want to use something here...
}
}