Hi all,
I realise that this might be a question that has been asked and answered, but please bear with me.
I want to know if it is possible to use annotations to inject code into your classes compile time. The classic example is to generate a getter and setter for the members of your object. This is not exactly what I need it for, but it serves to illustrate the basic idea.
Now on the internet the basic answer I get is no, but this guy did it:
Does anyone know how he does what he does (and if he actually does what he says he does)?
The main thing is that he does not use an annotation processor to generate a new java file to compile. This technique I am aware of and will not work for our purpose.
Thanks