I'm interested in making a simple KEEP-87 inspired implicit dependency injection plugin, but I'm not sure where to start
Basically, if a primary constructor is called with missing parameters, any parameters marked with @Dependency will be filled in with variables in the environment of the same type, that are also marked with @Dependency. (Example attached)
I tried playing around with irConstructorCall, but couldn't get that to be called (will I have to wait for Kotlin 1.4 for IR?). And from there, I'm not sure how to transform the constructor call to find missing arguments, or how to find variables I can use