comparison graal/com.oracle.max.graal.runtime/.checkstyle_checks.xml @ 2872:0341b6424579

Project renaming.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 08:42:25 +0200
parents graal/GraalRuntime/.checkstyle_checks.xml@16b9a8b5ad39
children
comparison
equal deleted inserted replaced
2871:d704eb526603 2872:0341b6424579
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
4 <!--
5 This configuration file was written by the eclipse-cs plugin configuration editor
6 -->
7 <!--
8 Checkstyle-Configuration: C1X Checkstyle checks
9 Description: none
10 -->
11 <module name="Checker">
12 <property name="severity" value="warning"/>
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="DoubleCheckedLocking">
63 <property name="severity" value="error"/>
64 </module>
65 <module name="EmptyStatement"/>
66 <module name="HiddenField">
67 <property name="severity" value="ignore"/>
68 <property name="ignoreConstructorParameter" value="true"/>
69 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
70 </module>
71 <module name="FinalClass"/>
72 <module name="HideUtilityClassConstructor">
73 <property name="severity" value="ignore"/>
74 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
75 </module>
76 <module name="ArrayTypeStyle"/>
77 <module name="UpperEll"/>
78 <module name="FallThrough"/>
79 <module name="FinalLocalVariable">
80 <property name="severity" value="ignore"/>
81 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
82 </module>
83 <module name="MultipleVariableDeclarations"/>
84 <module name="StringLiteralEquality">
85 <property name="severity" value="error"/>
86 </module>
87 <module name="SuperFinalize"/>
88 <module name="UnnecessaryParentheses">
89 <property name="severity" value="ignore"/>
90 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
91 </module>
92 <module name="Indentation">
93 <property name="severity" value="ignore"/>
94 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
95 </module>
96 <module name="StaticVariableName">
97 <property name="format" value="^[A-Za-z][a-zA-Z0-9]*$"/>
98 </module>
99 <module name="EmptyForInitializerPad"/>
100 <module name="EmptyForIteratorPad"/>
101 <module name="ModifierOrder"/>
102 <module name="DefaultComesLast"/>
103 <module name="InnerAssignment">
104 <property name="severity" value="ignore"/>
105 <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/>
106 </module>
107 <module name="JUnitTestCase"/>
108 <module name="ModifiedControlVariable"/>
109 <module name="MutableException"/>
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 <property name="format" value="\s$"/>
116 <property name="message" value="Illegal trailing whitespace(s) at the end of the line."/>
117 <property name="ignoreComments" value="true"/>
118 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for trailing spaces at the end of a line"/>
119 </module>
120 <module name="RegexpSinglelineJava">
121 <property name="format" value=" ,"/>
122 <property name="ignoreComments" value="true"/>
123 <metadata name="com.atlassw.tools.eclipse.checkstyle.customMessage" value="Illegal whitespace before a comma."/>
124 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for whitespace before a comma."/>
125 </module>
126 </module>
127 <module name="RegexpHeader">
128 <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"/>
129 </module>
130 <module name="FileTabCharacter">
131 <property name="severity" value="error"/>
132 </module>
133 <module name="NewlineAtEndOfFile">
134 <property name="lineSeparator" value="lf"/>
135 </module>
136 <module name="Translation"/>
137 <module name="SuppressionCommentFilter">
138 <property name="offCommentFormat" value="Checkstyle: stop constant name check"/>
139 <property name="onCommentFormat" value="Checkstyle: resume constant name check"/>
140 <property name="checkFormat" value="ConstantNameCheck"/>
141 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/>
142 </module>
143 <module name="SuppressionCommentFilter">
144 <property name="offCommentFormat" value="Checkstyle: stop method name check"/>
145 <property name="onCommentFormat" value="Checkstyle: resume method name check"/>
146 <property name="checkFormat" value="MethodName"/>
147 <property name="checkC" value="false"/>
148 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable method name checks"/>
149 </module>
150 <module name="SuppressionCommentFilter">
151 <property name="offCommentFormat" value="CheckStyle: stop parameter assignment check"/>
152 <property name="onCommentFormat" value="CheckStyle: resume parameter assignment check"/>
153 <property name="checkFormat" value="ParameterAssignment"/>
154 <property name="checkC" value="false"/>
155 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable Parameter Assignment"/>
156 </module>
157 <module name="SuppressionCommentFilter">
158 <property name="offCommentFormat" value="Checkstyle: stop final variable check"/>
159 <property name="onCommentFormat" value="Checkstyle: resume final variable check"/>
160 <property name="checkFormat" value="FinalLocalVariable"/>
161 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable final variable checks"/>
162 </module>
163 <module name="SuppressionCommentFilter">
164 <property name="offCommentFormat" value="Checkstyle: stop"/>
165 <property name="onCommentFormat" value="Checkstyle: resume"/>
166 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks"/>
167 </module>
168 <module name="SuppressionCommentFilter">
169 <property name="offCommentFormat" value="// START GENERATED RAW ASSEMBLER METHODS"/>
170 <property name="onCommentFormat" value="// END GENERATED RAW ASSEMBLER METHODS"/>
171 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated raw assembler methods"/>
172 </module>
173 <module name="SuppressionCommentFilter">
174 <property name="offCommentFormat" value="// START GENERATED LABEL ASSEMBLER METHODS"/>
175 <property name="onCommentFormat" value="// END GENERATED LABEL ASSEMBLER METHODS"/>
176 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated label assembler methods"/>
177 </module>
178 <module name="SuppressionCommentFilter">
179 <property name="offCommentFormat" value="CheckStyle: stop inner assignment check"/>
180 <property name="onCommentFormat" value="CheckStyle: resume inner assignment check"/>
181 <property name="checkFormat" value="InnerAssignment"/>
182 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable inner assignment checks"/>
183 </module>
184 <module name="SuppressionCommentFilter">
185 <property name="offCommentFormat" value="Checkstyle: stop field name check"/>
186 <property name="onCommentFormat" value="Checkstyle: resume field name check"/>
187 <property name="checkFormat" value="MemberName"/>
188 <property name="checkC" value="false"/>
189 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/>
190 </module>
191 </module>