there is an annotation in FindBugs to ignore a set of errors, for instance:

import edu.umd.cs.findbugs.annotations.SuppressWarnings;
@SuppressWarnings(value="DLS_DEAD_LOCAL_STORE", justification="...")

is there a way to ignore all types of errors for a java file, using an annotation?

I am awared that a file can be excluded from the command line or a configuration file: http://findbugs.sourceforge.net/manual/filter.html

but for this particular case, I would need to define this exclusion modifying only that java file.

Edit
Report