Mercurial > hg > truffle
annotate graal/com.oracle.graal.graph/.checkstyle_checks.xml @ 9923:89cbd0119dc5
Added comment to explain the generics of AbstractJavaProfile.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 21 May 2013 11:38:18 +0200 |
parents | 23c96de53386 |
children | 4fcd38b13eb1 |
rev | line source |
---|---|
4144 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> | |
3 | |
8959
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
4 <!-- |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
5 This configuration file was written by the eclipse-cs plugin configuration editor |
4144 | 6 --> |
8959
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
7 <!-- |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
8 Checkstyle-Configuration: Maxine Checks |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
9 Description: none |
4144 | 10 --> |
11 <module name="Checker"> | |
9109
23c96de53386
Change severity of checkstyle problems from "warning" to "error". Fixed several System.out.print violations.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
8959
diff
changeset
|
12 <property name="severity" value="error"/> |
4144 | 13 <module name="TreeWalker"> |
14 <property name="tabWidth" value="4"/> | |
15 <module name="FileContentsHolder"/> | |
16 <module name="JavadocStyle"> | |
17 <property name="checkHtml" value="false"/> | |
18 </module> | |
19 <module name="LocalFinalVariableName"/> | |
20 <module name="LocalVariableName"/> | |
21 <module name="MemberName"> | |
22 <property name="format" value="^(([a-z][a-zA-Z0-9]*$)|(_[A-Z][a-zA-Z0-9]*_[a-z][a-zA-Z0-9]*$))"/> | |
23 </module> | |
24 <module name="MethodName"> | |
25 <property name="format" value="^[a-z][a-z_A-Z0-9]*$"/> | |
26 </module> | |
27 <module name="PackageName"/> | |
28 <module name="ParameterName"/> | |
29 <module name="TypeName"> | |
30 <property name="format" value="^[A-Z][_a-zA-Z0-9]*$"/> | |
31 </module> | |
32 <module name="RedundantImport"/> | |
33 <module name="LineLength"> | |
34 <property name="max" value="250"/> | |
35 </module> | |
36 <module name="MethodParamPad"/> | |
37 <module name="NoWhitespaceAfter"> | |
38 <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/> | |
39 </module> | |
40 <module name="NoWhitespaceBefore"> | |
41 <property name="tokens" value="SEMI,DOT,POST_DEC,POST_INC"/> | |
42 </module> | |
43 <module name="ParenPad"/> | |
44 <module name="TypecastParenPad"> | |
45 <property name="tokens" value="RPAREN,TYPECAST"/> | |
46 </module> | |
47 <module name="WhitespaceAfter"/> | |
48 <module name="WhitespaceAround"> | |
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"/> | |
50 </module> | |
51 <module name="RedundantModifier"/> | |
52 <module name="AvoidNestedBlocks"> | |
53 <property name="allowInSwitchCase" value="true"/> | |
54 </module> | |
55 <module name="EmptyBlock"> | |
56 <property name="option" value="text"/> | |
57 <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/> | |
58 </module> | |
59 <module name="LeftCurly"/> | |
60 <module name="NeedBraces"/> | |
61 <module name="RightCurly"/> | |
62 <module name="EmptyStatement"/> | |
63 <module name="HiddenField"> | |
64 <property name="severity" value="ignore"/> | |
65 <property name="ignoreConstructorParameter" value="true"/> | |
66 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
67 </module> | |
68 <module name="FinalClass"/> | |
69 <module name="HideUtilityClassConstructor"> | |
70 <property name="severity" value="ignore"/> | |
71 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
72 </module> | |
73 <module name="ArrayTypeStyle"/> | |
74 <module name="UpperEll"/> | |
75 <module name="FallThrough"/> | |
76 <module name="FinalLocalVariable"> | |
77 <property name="severity" value="ignore"/> | |
78 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
79 </module> | |
80 <module name="MultipleVariableDeclarations"/> | |
81 <module name="StringLiteralEquality"> | |
82 <property name="severity" value="error"/> | |
83 </module> | |
84 <module name="SuperFinalize"/> | |
85 <module name="UnnecessaryParentheses"> | |
86 <property name="severity" value="ignore"/> | |
87 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
88 </module> | |
89 <module name="Indentation"> | |
90 <property name="severity" value="ignore"/> | |
91 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
92 </module> | |
93 <module name="StaticVariableName"> | |
94 <property name="format" value="^[A-Za-z][a-zA-Z0-9]*$"/> | |
95 </module> | |
96 <module name="EmptyForInitializerPad"/> | |
97 <module name="EmptyForIteratorPad"/> | |
98 <module name="ModifierOrder"/> | |
99 <module name="DefaultComesLast"/> | |
100 <module name="InnerAssignment"> | |
101 <property name="severity" value="ignore"/> | |
102 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
103 </module> | |
104 <module name="JUnitTestCase"/> | |
105 <module name="ModifiedControlVariable"/> | |
106 <module name="MutableException"> | |
107 <property name="severity" value="ignore"/> | |
108 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
109 </module> | |
110 <module name="ParameterAssignment"> | |
111 <property name="severity" value="ignore"/> | |
112 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> | |
113 </module> | |
114 <module name="RegexpSinglelineJava"> | |
115 <metadata name="net.sf.eclipsecs.core.comment" value="Illegal trailing whitespace(s) at the end of the line."/> | |
116 <property name="format" value="\s$"/> | |
117 <property name="message" value="Illegal trailing whitespace(s) at the end of the line."/> | |
118 <property name="ignoreComments" value="true"/> | |
119 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for trailing spaces at the end of a line"/> | |
120 </module> | |
121 <module name="RegexpSinglelineJava"> | |
122 <metadata name="net.sf.eclipsecs.core.comment" value="illegal space before a comma"/> | |
123 <property name="format" value=" ,"/> | |
124 <property name="message" value="illegal space before a comma"/> | |
125 <property name="ignoreComments" value="true"/> | |
126 <metadata name="com.atlassw.tools.eclipse.checkstyle.customMessage" value="Illegal whitespace before a comma."/> | |
127 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for whitespace before a comma."/> | |
128 </module> | |
129 </module> | |
130 <module name="RegexpHeader"> | |
131 <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
|
132 <property name="fileExtensions" value="java"/> |
4144 | 133 </module> |
134 <module name="FileTabCharacter"> | |
135 <property name="severity" value="error"/> | |
136 </module> | |
137 <module name="NewlineAtEndOfFile"> | |
138 <property name="lineSeparator" value="lf"/> | |
139 </module> | |
140 <module name="Translation"/> | |
141 <module name="SuppressionCommentFilter"> | |
142 <property name="offCommentFormat" value="Checkstyle: stop constant name check"/> | |
143 <property name="onCommentFormat" value="Checkstyle: resume constant name check"/> | |
144 <property name="checkFormat" value="ConstantNameCheck"/> | |
145 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/> | |
146 </module> | |
147 <module name="SuppressionCommentFilter"> | |
148 <property name="offCommentFormat" value="Checkstyle: stop method name check"/> | |
149 <property name="onCommentFormat" value="Checkstyle: resume method name check"/> | |
150 <property name="checkFormat" value="MethodName"/> | |
151 <property name="checkC" value="false"/> | |
152 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable method name checks"/> | |
153 </module> | |
154 <module name="SuppressionCommentFilter"> | |
155 <property name="offCommentFormat" value="CheckStyle: stop parameter assignment check"/> | |
156 <property name="onCommentFormat" value="CheckStyle: resume parameter assignment check"/> | |
157 <property name="checkFormat" value="ParameterAssignment"/> | |
158 <property name="checkC" value="false"/> | |
159 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable Parameter Assignment"/> | |
160 </module> | |
161 <module name="SuppressionCommentFilter"> | |
162 <property name="offCommentFormat" value="Checkstyle: stop final variable check"/> | |
163 <property name="onCommentFormat" value="Checkstyle: resume final variable check"/> | |
164 <property name="checkFormat" value="FinalLocalVariable"/> | |
165 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable final variable checks"/> | |
166 </module> | |
167 <module name="SuppressionCommentFilter"> | |
168 <property name="offCommentFormat" value="Checkstyle: stop"/> | |
169 <property name="onCommentFormat" value="Checkstyle: resume"/> | |
170 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks"/> | |
171 </module> | |
172 <module name="SuppressionCommentFilter"> | |
173 <property name="offCommentFormat" value="// START GENERATED RAW ASSEMBLER METHODS"/> | |
174 <property name="onCommentFormat" value="// END GENERATED RAW ASSEMBLER METHODS"/> | |
175 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated raw assembler methods"/> | |
176 </module> | |
177 <module name="SuppressionCommentFilter"> | |
178 <property name="offCommentFormat" value="// START GENERATED LABEL ASSEMBLER METHODS"/> | |
179 <property name="onCommentFormat" value="// END GENERATED LABEL ASSEMBLER METHODS"/> | |
180 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated label assembler methods"/> | |
181 </module> | |
182 <module name="SuppressionCommentFilter"> | |
183 <property name="offCommentFormat" value="CheckStyle: stop inner assignment check"/> | |
184 <property name="onCommentFormat" value="CheckStyle: resume inner assignment check"/> | |
185 <property name="checkFormat" value="InnerAssignment"/> | |
186 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable inner assignment checks"/> | |
187 </module> | |
188 <module name="SuppressionCommentFilter"> | |
189 <property name="offCommentFormat" value="Checkstyle: stop field name check"/> | |
190 <property name="onCommentFormat" value="Checkstyle: resume field name check"/> | |
191 <property name="checkFormat" value="MemberName"/> | |
192 <property name="checkC" value="false"/> | |
193 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/> | |
194 </module> | |
195 <module name="RegexpMultiline"> | |
196 <metadata name="net.sf.eclipsecs.core.comment" value="illegal Windows line ending"/> | |
197 <property name="format" value="\r\n"/> | |
198 <property name="message" value="illegal Windows line ending"/> | |
199 </module> | |
8959
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
200 <module name="SuppressionCommentFilter"> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
201 <property name="offCommentFormat" value="CheckStyle: stop system..print check"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
202 <property name="onCommentFormat" value="CheckStyle: resume system..print check"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
203 <property name="checkFormat" value="RegexpSingleline"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
204 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable System.(out|err).print checks"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
205 </module> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
206 <module name="RegexpSingleline"> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
207 <property name="format" value="System\.(out|err)\.print"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
208 <property name="fileExtensions" value="java"/> |
7fee8bd5d2bd
Remove some System.(out|err).print...
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
6697
diff
changeset
|
209 </module> |
4144 | 210 </module> |