/
SuppressWarningsHolder.xml
24 lines (24 loc) · 1.15 KB
/
SuppressWarningsHolder.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle-metadata>
<module>
<check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder"
name="SuppressWarningsHolder"
parent="com.puppycrawl.tools.checkstyle.TreeWalker">
<description><p>
Maintains a set of check suppressions from {@code @SuppressWarnings} annotations.
It allows to prevent Checkstyle from reporting violations from parts of code that were
annotated with {@code @SuppressWarnings} and using name of the check to be excluded.
It is possible to suppress all the checkstyle warnings with the argument {@code "all"}.
You can also use a {@code checkstyle:} prefix to prevent compiler
from processing these annotations.
You can also define aliases for check names that need to be suppressed.
</p></description>
<properties>
<property name="aliasList" type="java.lang.String[]">
<description>Specify aliases for check names that can be used in code
within {@code SuppressWarnings}.</description>
</property>
</properties>
</check>
</module>
</checkstyle-metadata>