lundi 14 août 2017

How to process annotaions and insert methods using asm.jar without specifying anything?

It seems that in order to process all the custom annotations I have to extend AbstractProcessor and specify it using -processor when using javac.

But there must be a way just like lombok in which explicitly specify any processors is needless.

And in which phase could I modify .class file using asm.jar according to the elements annotated with my custom annotations?





Aucun commentaire:

Enregistrer un commentaire