java - Performing a final action after annotation processing -


so have annotation that, although can declared multiple times, needs access same properties file. using static registry in annotation processor track if file has been created, , store writer file. far works fine, problem figuring out when save file. making call roundenv.processingfinished (or whatever method is) @ end of annotation processor, , if returns true save file. problem having that, if source fines generated, , compiler goes new round of processing not contain of annotation, file not ne saved. thinking adding entirely new processing supports every annotation, claims none, , making check there. feel clunky option, since spec indicates processor should support annotations process. there better way of doing this, or should go additional processor model?


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -