Right now, instantiate is limited to methods. This doesn't work very well in kotling, as functions are not used in the same way they are in java. I think some possible additions to allow for different ways of using the API are:
- Be able to annotate variables with the annotation and have that work
- Expose a function from the api to inject variables, bypassing the instantiate annotation entirely.
Right now, instantiate is limited to methods. This doesn't work very well in kotling, as functions are not used in the same way they are in java. I think some possible additions to allow for different ways of using the API are: