Random thought. Is there a way to make the class g...
# announcements
p
Random thought. Is there a way to make the class generated from a file (i.e.
Something.kt
->
SomethingKt
) extend a particular type? 🤔
n
what is your use-case?
s
If you cannot instantiate it why would you care what classes it extends?
p
I was just wondering. It would be handy for interface based injection for example. But I could see it being useful on other places... Maybe for gradle scripts for example
And DSL based scripts in general
By interface injection I mean using extension functions on an interface