Sounds like you want annotation processing
https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html
On Tue, Mar 9, 2021 at 4:12 PM Rimvydas Vaidelis
wrote:
>
> Hello,
>
> I would like to write a maven plugin that transforms a java source code
> (adds specified
Hello,
I would like to write a maven plugin that transforms a java source code
(adds specified annotations to methods). Lets say the source code contains
java files A.java, B.java and C.java. Lets say only B.java must be
transformed (transformer decides which java file should be transformed). I