The annotation processor mechanism is designed for annotated classes (hint: look at the name of the interface and its package). That said, if you set
@SupportedAnnotationTypes("*")
then it will be called for every class. We could try to find all XML metadata files, parse them, and generate the query class for each XML defined class.
The annotation processor mechanism is designed for annotated classes (hint: look at the name of the interface and its package). That said, if you set
@SupportedAnnotationTypes("*")
then it will be called for every class. We could try to find all XML metadata files, parse them, and generate the query class for each XML defined class.