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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -