comparison graal/Runtime/.checkstyle_checks.xml @ 2297:099e697d8934

Renaming c1x4hotspotsrc => graal and HotSpotVM => Runtime
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 22 Apr 2011 15:08:53 +0200
parents
children 3e3e8bd12730
comparison
equal deleted inserted replaced
2296:34354e2e40a3 2297:099e697d8934
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 This configuration file was written by the eclipse-cs plugin configuration editor
4 -->
5 <!--
6 Checkstyle-Configuration: C1X Checkstyle checks
7 Description: none
8 -->
9 <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
10 <module name="Checker">
11 <property name="severity" value="warning"/>
12 <module name="RegexpHeader">
13 <property name="header" value="\*\n\* Copyright \(c\) 20[0-9][0-9] Sun Microsystems, Inc. *All rights reserved.\n \*\n \* Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product\n \* that is described in this document. In particular, and without limitation, these intellectual property\n \* rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or\n \* more additional patents or pending patent applications in the U.S. and in other countries.\n *\n \* U.S. Government Rights - Commercial software. Government users are subject to the Sun\n \* Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its\n \* supplements.\n \*\n \* Use is subject to license terms. Sun, Sun Microsystems, the Sun logo, Java and Solaris are trademarks or\n \* registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks\n \* are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the\n \* U.S. and other countries.\n \*\n \* UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open\n \* Company, Ltd.\n \*/"/>
14 </module>
15 <module name="FileTabCharacter">
16 <property name="severity" value="error"/>
17 </module>
18 <module name="TreeWalker">
19 <property name="tabWidth" value="4"/>
20 <module name="FileContentsHolder"/>
21 <module name="JavadocStyle">
22 <property name="checkHtml" value="false"/>
23 </module>
24 <module name="LocalFinalVariableName"/>
25 <module name="LocalVariableName"/>
26 <module name="MemberName">
27 <property name="format" value="^(([a-z][a-zA-Z0-9]*$)|(_[A-Z][a-zA-Z0-9]*_[a-z][a-zA-Z0-9]*$))"/>
28 </module>
29 <module name="MethodName">
30 <property name="format" value="^[a-z][a-z_A-Z0-9]*$"/>
31 </module>
32 <module name="PackageName"/>
33 <module name="ParameterName"/>
34 <module name="TypeName">
35 <property name="format" value="^[A-Z][_a-zA-Z0-9]*$"/>
36 </module>
37 <module name="RedundantImport"/>
38 <module name="UnusedImports"/>
39 <module name="LineLength">
40 <property name="max" value="250"/>
41 </module>
42 <module name="MethodParamPad"/>
43 <module name="NoWhitespaceAfter">
44 <property name="tokens" value="ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS"/>
45 </module>
46 <module name="NoWhitespaceBefore">
47 <property name="tokens" value="SEMI,DOT,POST_DEC,POST_INC"/>
48 </module>
49 <module name="ParenPad"/>
50 <module name="TypecastParenPad">
51 <property name="tokens" value="RPAREN,TYPECAST"/>
52 </module>
53 <module name="WhitespaceAfter"/>
54 <module name="WhitespaceAround">
55 <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"/>
56 </module>
57 <module name="RedundantModifier"/>
58 <module name="AvoidNestedBlocks">
59 <property name="allowInSwitchCase" value="true"/>
60 </module>
61 <module name="EmptyBlock">
62 <property name="option" value="text"/>
63 <property name="tokens" value="LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_TRY,LITERAL_WHILE,STATIC_INIT"/>
64 </module>
65 <module name="LeftCurly"/>
66 <module name="NeedBraces"/>
67 <module name="RightCurly"/>
68 <module name="DoubleCheckedLocking">
69 <property name="severity" value="error"/>
70 </module>
71 <module name="EmptyStatement"/>
72 <module name="HiddenField">
73 <property name="severity" value="ignore"/>
74 <property name="ignoreConstructorParameter" value="true"/>
75 </module>
76 <module name="FinalClass"/>
77 <module name="HideUtilityClassConstructor">
78 <property name="severity" value="ignore"/>
79 </module>
80 <module name="ArrayTypeStyle"/>
81 <module name="UpperEll"/>
82 <module name="FallThrough"/>
83 <module name="FinalLocalVariable">
84 <property name="severity" value="ignore"/>
85 </module>
86 <module name="MultipleVariableDeclarations"/>
87 <module name="StringLiteralEquality">
88 <property name="severity" value="error"/>
89 </module>
90 <module name="SuperFinalize"/>
91 <module name="UnnecessaryParentheses">
92 <property name="severity" value="ignore"/>
93 </module>
94 <module name="Indentation">
95 <property name="severity" value="ignore"/>
96 </module>
97 <module name="StaticVariableName">
98 <property name="format" value="^[A-Za-z][a-zA-Z0-9]*$"/>
99 </module>
100 <module name="EmptyForInitializerPad"/>
101 <module name="EmptyForIteratorPad"/>
102 <module name="ModifierOrder"/>
103 <module name="DefaultComesLast"/>
104 <module name="InnerAssignment">
105 <property name="severity" value="ignore"/>
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 </module>
113 <module name="RegexpSinglelineJava">
114 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for trailing spaces at the end of a line"/>
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 </module>
119 <module name="RegexpSinglelineJava">
120 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Checks for whitespace before a comma."/>
121 <metadata name="com.atlassw.tools.eclipse.checkstyle.customMessage" value="Illegal whitespace before a comma."/>
122 <property name="format" value=" ,"/>
123 <property name="ignoreComments" value="true"/>
124 </module>
125 </module>
126 <module name="NewlineAtEndOfFile"/>
127 <module name="Translation"/>
128 <module name="SuppressionCommentFilter">
129 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Allow non-conforming constant names"/>
130 <property name="offCommentFormat" value="Checkstyle: stop constant name check"/>
131 <property name="onCommentFormat" value="Checkstyle: resume constant name check"/>
132 <property name="checkFormat" value="ConstantNameCheck"/>
133 </module>
134 <module name="SuppressionCommentFilter">
135 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable method name checks"/>
136 <property name="offCommentFormat" value="Checkstyle: stop method name check"/>
137 <property name="onCommentFormat" value="Checkstyle: resume method name check"/>
138 <property name="checkFormat" value="MethodName"/>
139 <property name="checkC" value="false"/>
140 </module>
141 <module name="SuppressionCommentFilter">
142 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable Parameter Assignment"/>
143 <property name="offCommentFormat" value="CheckStyle: stop parameter assignment check"/>
144 <property name="onCommentFormat" value="CheckStyle: resume parameter assignment check"/>
145 <property name="checkFormat" value="ParameterAssignment"/>
146 <property name="checkC" value="false"/>
147 </module>
148 <module name="SuppressionCommentFilter">
149 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable final variable checks"/>
150 <property name="offCommentFormat" value="Checkstyle: stop final variable check"/>
151 <property name="onCommentFormat" value="Checkstyle: resume final variable check"/>
152 <property name="checkFormat" value="FinalLocalVariable"/>
153 </module>
154 <module name="SuppressionCommentFilter">
155 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks"/>
156 <property name="offCommentFormat" value="Checkstyle: stop"/>
157 <property name="onCommentFormat" value="Checkstyle: resume"/>
158 </module>
159 <module name="SuppressionCommentFilter">
160 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated raw assembler methods"/>
161 <property name="offCommentFormat" value="// START GENERATED RAW ASSEMBLER METHODS"/>
162 <property name="onCommentFormat" value="// END GENERATED RAW ASSEMBLER METHODS"/>
163 </module>
164 <module name="SuppressionCommentFilter">
165 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable all checks for generated label assembler methods"/>
166 <property name="offCommentFormat" value="// START GENERATED LABEL ASSEMBLER METHODS"/>
167 <property name="onCommentFormat" value="// END GENERATED LABEL ASSEMBLER METHODS"/>
168 </module>
169 <module name="SuppressionCommentFilter">
170 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable inner assignment checks"/>
171 <property name="offCommentFormat" value="CheckStyle: stop inner assignment check"/>
172 <property name="onCommentFormat" value="CheckStyle: resume inner assignment check"/>
173 <property name="checkFormat" value="InnerAssignment"/>
174 </module>
175 <module name="SuppressionCommentFilter">
176 <metadata name="com.atlassw.tools.eclipse.checkstyle.comment" value="Disable field name checks"/>
177 <property name="offCommentFormat" value="Checkstyle: stop field name check"/>
178 <property name="onCommentFormat" value="Checkstyle: resume field name check"/>
179 <property name="checkFormat" value="MemberName"/>
180 <property name="checkC" value="false"/>
181 </module>
182 </module>