Issue
I am trying to implement AnnotationProcessor. I am following this tutorial.
I am able to debug the annotation processor, and the debugger goes to methods: init, getSupportedAnnotationTypes, getSupportedOptions ,getSupportedSourceVersion but it does not go to process method.
I was unable to find something useful on the internet. Could you please tell me why is this happening and how to fix it?
Thank you.
Solution
I just found out that in order to run the process method. At least one element must be annotated with an annotation that was set in getSupportedAnnotationTypes.
Answered By - miskohut
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.