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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -