I think a builder may be suitable for what you want to do. There is a template in the new plugin wizard that creates everything you need for the builder (for example, business logic). Since the builder starts every time the file changes, you can clear the old warning (code created for you) and add a new warning (code generated for you), if applicable. This also applies when a file is first created.
You can even scan the code and find hardcoded strings and mark them with warnings if you want.
, , NLS (, , ). , , . , , .