Oleg Shuliak
01/23/2025, 9:04 PMinterface Interface {
fun Interface.protectedMethod()
}
class Implementation : Interface {
override fun Interface.protectedMethod() = Unit
init {
protectedMethod()
}
}
but it doesn’t look fully right. Any other ideas?Ruckus
01/23/2025, 9:14 PMwith
) and provides no guarantee that the this
in protectedMethod
is the implementing class.
For example: https://pl.kotl.in/YpWSQLFzTasdf asdf
01/23/2025, 10:22 PMDaniel Pitts
01/24/2025, 9:21 PM