annotate graal/com.oracle.graal.graph/.checkstyle_checks.xml @ 5762:b30cced39597

generalized functionality for finding classes based on searching for patterns in source code and moved it from commands.py to mx.py used above functionality to find classes manually excluded from JaCoCo processing
author Doug Simon <doug.simon@oracle.com>
date Wed, 04 Jul 2012 21:56:48 +0200
parents 13321732f85c
children 45661f68f317
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4144
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
3
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
4 <!--
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
5 This configuration file was written by the eclipse-cs plugin configuration editor
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
6 -->
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
7 <!--
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
8 Checkstyle-Configuration: Maxine Checks
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
9 Description: none
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
10 -->
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
11 <module name="Checker">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
12 <property name="severity" value="warning"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
13 <module name="TreeWalker">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
14 <property name="tabWidth" value="4"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
15 <module name="FileContentsHolder"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
16 <module name="JavadocStyle">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
17 <property name="checkHtml" value="false"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
18 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
19 <module name="LocalFinalVariableName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
20 <module name="LocalVariableName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
21 <module name="MemberName">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
22 <property name="format" value="^(([a-z][a-zA-Z0-9]*$)|(_[A-Z][a-zA-Z0-9]*_[a-z][a-zA-Z0-9]*$))"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
23 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
24 <module name="MethodName">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
25 <property name="format" value="^[a-z][a-z_A-Z0-9]*$"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
26 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
27 <module name="PackageName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
28 <module name="ParameterName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
29 <module name="TypeName">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
30 <property name="format" value="^[A-Z][_a-zA-Z0-9]*$"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
31 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
32 <module name="RedundantImport"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
33 <module name="LineLength">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
34 <property name="max" value="250"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
35 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
36 <module name="MethodParamPad"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
37 <module name="NoWhitespaceAfter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
38 <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
39 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
40 <module name="NoWhitespaceBefore">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
41 <property name="tokens" value="SEMI,DOT,POST_DEC,POST_INC"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
42 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
43 <module name="ParenPad"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
44 <module name="TypecastParenPad">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
45 <property name="tokens" value="RPAREN,TYPECAST"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
46 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
47 <module name="WhitespaceAfter"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
48 <module name="WhitespaceAround">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
49 <property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
50 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
51 <module name="RedundantModifier"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
52 <module name="AvoidNestedBlocks">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
53 <property name="allowInSwitchCase" value="true"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
54 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
55 <module name="EmptyBlock">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
56 <property name="option" value="text"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
57 <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
58 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
59 <module name="LeftCurly"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
60 <module name="NeedBraces"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
61 <module name="RightCurly"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
62 <module name="DoubleCheckedLocking">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
63 <property name="severity" value="error"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
64 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
65 <module name="EmptyStatement"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
66 <module name="HiddenField">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
67 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
68 <property name="ignoreConstructorParameter" value="true"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
69 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
70 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
71 <module name="FinalClass"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
72 <module name="HideUtilityClassConstructor">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
73 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
74 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
75 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
76 <module name="ArrayTypeStyle"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
77 <module name="UpperEll"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
78 <module name="FallThrough"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
79 <module name="FinalLocalVariable">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
80 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
81 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
82 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
83 <module name="MultipleVariableDeclarations"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
84 <module name="StringLiteralEquality">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
85 <property name="severity" value="error"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
86 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
87 <module name="SuperFinalize"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
88 <module name="UnnecessaryParentheses">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
89 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
90 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
91 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
92 <module name="Indentation">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
93 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
94 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
95 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
96 <module name="StaticVariableName">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
97 <property name="format" value="^[A-Za-z][a-zA-Z0-9]*$"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
98 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
99 <module name="EmptyForInitializerPad"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
100 <module name="EmptyForIteratorPad"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
101 <module name="ModifierOrder"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
102 <module name="DefaultComesLast"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
103 <module name="InnerAssignment">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
104 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
105 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
106 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
107 <module name="JUnitTestCase"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
108 <module name="ModifiedControlVariable"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
109 <module name="MutableException">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
110 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
111 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
112 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
113 <module name="ParameterAssignment">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
114 <property name="severity" value="ignore"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
115 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
116 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
117 <module name="RegexpSinglelineJava">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
118 <metadata name="net.sf.eclipsecs.core.comment" value="Illegal trailing whitespace(s) at the end of the line."/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
119 <property name="format" value="\s$"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
120 <property name="message" value="Illegal trailing whitespace(s) at the end of the line."/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
121 <property name="ignoreComments" value="true"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
122 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for trailing spaces at the end of a line"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
123 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
124 <module name="RegexpSinglelineJava">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
125 <metadata name="net.sf.eclipsecs.core.comment" value="illegal space before a comma"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
126 <property name="format" value=" ,"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
127 <property name="message" value="illegal space before a comma"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
128 <property name="ignoreComments" value="true"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
129 <metadata name="com.atlassw.tools.eclipse.checkstyle.customMessage" value="Illegal whitespace before a comma."/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
130 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for whitespace before a comma."/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
131 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
132 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
133 <module name="RegexpHeader">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
134 <property name="header" value="/\*\n \* Copyright \(c\) (20[0-9][0-9], )?20[0-9][0-9], Oracle and/or its affiliates. All rights reserved.\n \* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n \*\n \* This code is free software; you can redistribute it and/or modify it\n \* under the terms of the GNU General Public License version 2 only, as\n \* published by the Free Software Foundation.\n \*\n \* This code is distributed in the hope that it will be useful, but WITHOUT\n \* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n \* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License\n \* version 2 for more details \(a copy is included in the LICENSE file that\n \* accompanied this code\).\n \*\n \* You should have received a copy of the GNU General Public License version\n \* 2 along with this work; if not, write to the Free Software Foundation,\n \* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n \*\n \* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA\n \* or visit www.oracle.com if you need additional information or have any\n \* questions.\n \*/\n"/>
5521
13321732f85c Only check .java files for correct header.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents: 5062
diff changeset
135 <property name="fileExtensions" value="java"/>
4144
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
136 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
137 <module name="FileTabCharacter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
138 <property name="severity" value="error"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
139 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
140 <module name="NewlineAtEndOfFile">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
141 <property name="lineSeparator" value="lf"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
142 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
143 <module name="Translation"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
144 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
145 <property name="offCommentFormat" value="Checkstyle: stop constant name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
146 <property name="onCommentFormat" value="Checkstyle: resume constant name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
147 <property name="checkFormat" value="ConstantNameCheck"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
148 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
149 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
150 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
151 <property name="offCommentFormat" value="Checkstyle: stop method name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
152 <property name="onCommentFormat" value="Checkstyle: resume method name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
153 <property name="checkFormat" value="MethodName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
154 <property name="checkC" value="false"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
155 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable method name checks"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
156 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
157 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
158 <property name="offCommentFormat" value="CheckStyle: stop parameter assignment check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
159 <property name="onCommentFormat" value="CheckStyle: resume parameter assignment check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
160 <property name="checkFormat" value="ParameterAssignment"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
161 <property name="checkC" value="false"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
162 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable Parameter Assignment"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
163 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
164 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
165 <property name="offCommentFormat" value="Checkstyle: stop final variable check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
166 <property name="onCommentFormat" value="Checkstyle: resume final variable check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
167 <property name="checkFormat" value="FinalLocalVariable"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
168 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable final variable checks"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
169 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
170 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
171 <property name="offCommentFormat" value="Checkstyle: stop"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
172 <property name="onCommentFormat" value="Checkstyle: resume"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
173 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
174 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
175 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
176 <property name="offCommentFormat" value="// START GENERATED RAW ASSEMBLER METHODS"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
177 <property name="onCommentFormat" value="// END GENERATED RAW ASSEMBLER METHODS"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
178 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated raw assembler methods"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
179 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
180 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
181 <property name="offCommentFormat" value="// START GENERATED LABEL ASSEMBLER METHODS"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
182 <property name="onCommentFormat" value="// END GENERATED LABEL ASSEMBLER METHODS"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
183 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated label assembler methods"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
184 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
185 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
186 <property name="offCommentFormat" value="CheckStyle: stop inner assignment check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
187 <property name="onCommentFormat" value="CheckStyle: resume inner assignment check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
188 <property name="checkFormat" value="InnerAssignment"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
189 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable inner assignment checks"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
190 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
191 <module name="SuppressionCommentFilter">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
192 <property name="offCommentFormat" value="Checkstyle: stop field name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
193 <property name="onCommentFormat" value="Checkstyle: resume field name check"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
194 <property name="checkFormat" value="MemberName"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
195 <property name="checkC" value="false"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
196 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
197 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
198 <module name="RegexpMultiline">
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
199 <metadata name="net.sf.eclipsecs.core.comment" value="illegal Windows line ending"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
200 <property name="format" value="\r\n"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
201 <property name="message" value="illegal Windows line ending"/>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
202 </module>
34527a24bcf8 Adopted mxtool changes.
Doug Simon <doug.simon@oracle.com>
parents:
diff changeset
203 </module>