1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<jalopy>
|
3 |
<general>
|
4 |
<compliance>
|
5 |
<version>14</version>
|
6 |
</compliance>
|
7 |
<style>
|
8 |
<description>JeremyD Java Coding Convention</description>
|
9 |
<name>JeremyD</name>
|
10 |
</style>
|
11 |
</general>
|
12 |
<inspector>
|
13 |
<enable>false</enable>
|
14 |
<naming>
|
15 |
<classes>
|
16 |
<abstract>[A-Z][a-zA-Z0-9]+</abstract>
|
17 |
<general>[A-Z][a-zA-Z0-9]+</general>
|
18 |
</classes>
|
19 |
<fields>
|
20 |
<default>[a-z][\w]+</default>
|
21 |
<defaultStatic>[a-z][\w]+</defaultStatic>
|
22 |
<defaultStaticFinal>[a-zA-Z][\w]+</defaultStaticFinal>
|
23 |
<private>[a-z][\w]+</private>
|
24 |
<privateStatic>[a-z][\w]+</privateStatic>
|
25 |
<privateStaticFinal>[a-zA-Z][\w]+</privateStaticFinal>
|
26 |
<protected>[a-z][\w]+</protected>
|
27 |
<protectedStatic>[a-z][\w]+</protectedStatic>
|
28 |
<protectedStaticFinal>[a-zA-Z][\w]+</protectedStaticFinal>
|
29 |
<public>[a-z][\w]+</public>
|
30 |
<publicStatic>[a-z][\w]+</publicStatic>
|
31 |
<publicStaticFinal>[a-zA-Z][\w]+</publicStaticFinal>
|
32 |
</fields>
|
33 |
<interfaces>[A-Z][a-zA-Z0-9]+</interfaces>
|
34 |
<labels>\w+</labels>
|
35 |
<methods>
|
36 |
<default>[a-z][\w]+</default>
|
37 |
<defaultStatic>[a-z][\w]+</defaultStatic>
|
38 |
<defaultStaticFinal>[a-z][\w]+</defaultStaticFinal>
|
39 |
<private>[a-z][\w]+</private>
|
40 |
<privateStatic>[a-z][\w]+</privateStatic>
|
41 |
<privateStaticFinal>[a-z][\w]+</privateStaticFinal>
|
42 |
<protected>[a-z][\w]+</protected>
|
43 |
<protectedStatic>[a-z][\w]+</protectedStatic>
|
44 |
<protectedStaticFinal>[a-z][\w]+</protectedStaticFinal>
|
45 |
<public>[a-z][\w]+</public>
|
46 |
<publicStatic>[a-z][\w]+</publicStatic>
|
47 |
<publicStaticFinal>[a-z][\w]+</publicStaticFinal>
|
48 |
</methods>
|
49 |
<packages>[a-z]+(?:\.[a-z]+)*</packages>
|
50 |
<parameters>
|
51 |
<default>[a-z][\w]+</default>
|
52 |
<final>[a-z][\w]+</final>
|
53 |
</parameters>
|
54 |
<variables>[a-z][\w]*</variables>
|
55 |
</naming>
|
56 |
<tips>
|
57 |
<adhereToNamingConvention>false</adhereToNamingConvention>
|
58 |
<alwaysOverrideEquals>false</alwaysOverrideEquals>
|
59 |
<alwaysOverrideHashCode>false</alwaysOverrideHashCode>
|
60 |
<avoidThreadGroups>false</avoidThreadGroups>
|
61 |
<declareCollectionComment>false</declareCollectionComment>
|
62 |
<dontIgnoreExceptions>false</dontIgnoreExceptions>
|
63 |
<dontSubstituteObjectEquals>false</dontSubstituteObjectEquals>
|
64 |
<neverDeclareException>false</neverDeclareException>
|
65 |
<neverDeclareThrowable>false</neverDeclareThrowable>
|
66 |
<neverInvokeWaitOutsideLoop>false</neverInvokeWaitOutsideLoop>
|
67 |
<neverReturnZeroArrays>false</neverReturnZeroArrays>
|
68 |
<neverUseEmptyFinally>false</neverUseEmptyFinally>
|
69 |
<obeyContractEquals>false</obeyContractEquals>
|
70 |
<overrideToString>false</overrideToString>
|
71 |
<referToObjectsByInterface>false</referToObjectsByInterface>
|
72 |
<replaceStructureWithClass>false</replaceStructureWithClass>
|
73 |
<stringLiterallI18n>false</stringLiterallI18n>
|
74 |
<useInterfaceOnlyForTypes>false</useInterfaceOnlyForTypes>
|
75 |
<wrongCollectionComment>false</wrongCollectionComment>
|
76 |
</tips>
|
77 |
</inspector>
|
78 |
<internal>
|
79 |
<version>6</version>
|
80 |
</internal>
|
81 |
<messages>
|
82 |
<priority>
|
83 |
<general>30000</general>
|
84 |
<parser>30000</parser>
|
85 |
<parserJavadoc>30000</parserJavadoc>
|
86 |
<printer>30000</printer>
|
87 |
<printerJavadoc>30000</printerJavadoc>
|
88 |
<transform>30000</transform>
|
89 |
</priority>
|
90 |
<showErrorStackTrace>true</showErrorStackTrace>
|
91 |
</messages>
|
92 |
<misc>
|
93 |
<threadCount>2</threadCount>
|
94 |
</misc>
|
95 |
<printer>
|
96 |
<alignment>
|
97 |
<methodCallChain>true</methodCallChain>
|
98 |
<parameterMethodDeclaration>false</parameterMethodDeclaration>
|
99 |
<ternaryOperator>true</ternaryOperator>
|
100 |
<variableAssignment>false</variableAssignment>
|
101 |
<variableIdentifier>false</variableIdentifier>
|
102 |
</alignment>
|
103 |
<backup>
|
104 |
<directory>bak</directory>
|
105 |
<level>2</level>
|
106 |
</backup>
|
107 |
<blanklines>
|
108 |
<after>
|
109 |
<block>1</block>
|
110 |
<braceLeft>0</braceLeft>
|
111 |
<class>1</class>
|
112 |
<declaration>0</declaration>
|
113 |
<footer>1</footer>
|
114 |
<header>0</header>
|
115 |
<interface>1</interface>
|
116 |
<lastImport>1</lastImport>
|
117 |
<method>1</method>
|
118 |
<package>1</package>
|
119 |
</after>
|
120 |
<before>
|
121 |
<block>1</block>
|
122 |
<braceRight>0</braceRight>
|
123 |
<caseBlock>0</caseBlock>
|
124 |
<comment>
|
125 |
<javadoc>1</javadoc>
|
126 |
<multiline>1</multiline>
|
127 |
<singleline>1</singleline>
|
128 |
</comment>
|
129 |
<controlStatement>1</controlStatement>
|
130 |
<declaration>0</declaration>
|
131 |
<footer>0</footer>
|
132 |
<header>0</header>
|
133 |
</before>
|
134 |
<keepUpTo>1</keepUpTo>
|
135 |
</blanklines>
|
136 |
<braces>
|
137 |
<empty>
|
138 |
<cuddle>false</cuddle>
|
139 |
<insertStatement>false</insertStatement>
|
140 |
</empty>
|
141 |
<insert>
|
142 |
<dowhile>true</dowhile>
|
143 |
<for>true</for>
|
144 |
<ifelse>true</ifelse>
|
145 |
<while>true</while>
|
146 |
</insert>
|
147 |
<remove>
|
148 |
<block>true</block>
|
149 |
<dowhile>false</dowhile>
|
150 |
<for>false</for>
|
151 |
<ifelse>false</ifelse>
|
152 |
<while>false</while>
|
153 |
</remove>
|
154 |
<treatDifferent>
|
155 |
<methodClass>false</methodClass>
|
156 |
<methodClassIfWrapped>false</methodClassIfWrapped>
|
157 |
</treatDifferent>
|
158 |
</braces>
|
159 |
<chunks>
|
160 |
<blanklines>true</blanklines>
|
161 |
<comments>true</comments>
|
162 |
</chunks>
|
163 |
<comments>
|
164 |
<format>
|
165 |
<multiline>false</multiline>
|
166 |
</format>
|
167 |
<javadoc>
|
168 |
<check>
|
169 |
<innerclass>false</innerclass>
|
170 |
<tags>true</tags>
|
171 |
<throwsTags>true</throwsTags>
|
172 |
</check>
|
173 |
<fieldsShort>true</fieldsShort>
|
174 |
<generate>
|
175 |
<class>1</class>
|
176 |
<constructor>1</constructor>
|
177 |
<field>0</field>
|
178 |
<method>1</method>
|
179 |
</generate>
|
180 |
<parseComments>true</parseComments>
|
181 |
<tags>
|
182 |
<in-line />
|
183 |
<standard />
|
184 |
</tags>
|
185 |
<templates>
|
186 |
<class>/**| * DOCUMENT ME!| *| * @author $author$| * @version $Revision$| */</class>
|
187 |
<constructor>
|
188 |
<bottom> */</bottom>
|
189 |
<exception> * @throws $exceptionType$ DOCUMENT ME!</exception>
|
190 |
<param> * @param $paramType$ DOCUMENT ME!</param>
|
191 |
<top>/**| * Creates a new $objectType$ object.</top>
|
192 |
</constructor>
|
193 |
<interface>/**| * DOCUMENT ME!| *| * @author $author$| * @version $Revision$| */</interface>
|
194 |
<method>
|
195 |
<bottom> */</bottom>
|
196 |
<exception> * @throws $exceptionType$ DOCUMENT ME!</exception>
|
197 |
<param> * @param $paramType$ DOCUMENT ME!</param>
|
198 |
<return> * @return DOCUMENT ME!</return>
|
199 |
<top>/**| * DOCUMENT ME!</top>
|
200 |
</method>
|
201 |
<variable>/** DOCUMENT ME! */</variable>
|
202 |
</templates>
|
203 |
</javadoc>
|
204 |
<remove>
|
205 |
<javadoc>false</javadoc>
|
206 |
<multiline>false</multiline>
|
207 |
<singleline>false</singleline>
|
208 |
</remove>
|
209 |
<separator>
|
210 |
<fillCharacter>*</fillCharacter>
|
211 |
<insert>false</insert>
|
212 |
<insertRecursive>false</insertRecursive>
|
213 |
<text>
|
214 |
<class>Inner Classes</class>
|
215 |
<constructor>Constructors</constructor>
|
216 |
<field>Instance fields</field>
|
217 |
<initializer>Instance initializers</initializer>
|
218 |
<interface>Inner Interfaces</interface>
|
219 |
<method>Methods</method>
|
220 |
<static>Static fields/initializers</static>
|
221 |
</text>
|
222 |
</separator>
|
223 |
</comments>
|
224 |
<environment />
|
225 |
<footer>
|
226 |
<keys />
|
227 |
<smartMode>0</smartMode>
|
228 |
<use>false</use>
|
229 |
</footer>
|
230 |
<header>
|
231 |
<keys />
|
232 |
<smartMode>0</smartMode>
|
233 |
<use>false</use>
|
234 |
</header>
|
235 |
<history>
|
236 |
<policy>disabled</policy>
|
237 |
</history>
|
238 |
<imports>
|
239 |
<grouping>
|
240 |
<defaultDepth>3</defaultDepth>
|
241 |
<packages>java:1|javax:1|gnu:2|org:2|*:0</packages>
|
242 |
</grouping>
|
243 |
<policy>disabled</policy>
|
244 |
<sort>true</sort>
|
245 |
</imports>
|
246 |
<indentation>
|
247 |
<caseFromSwitch>true</caseFromSwitch>
|
248 |
<continuation>
|
249 |
<block>true</block>
|
250 |
<operator>true</operator>
|
251 |
</continuation>
|
252 |
<firstColumnComments>true</firstColumnComments>
|
253 |
<label>false</label>
|
254 |
<policy>
|
255 |
<deep>false</deep>
|
256 |
</policy>
|
257 |
<sizes>
|
258 |
<braceCuddled>2</braceCuddled>
|
259 |
<braceLeft>0</braceLeft>
|
260 |
<braceRight>0</braceRight>
|
261 |
<braceRightAfter>0</braceRightAfter>
|
262 |
<continuation>2</continuation>
|
263 |
<deep>40</deep>
|
264 |
<extends>-1</extends>
|
265 |
<general>2</general>
|
266 |
<implements>-1</implements>
|
267 |
<leading>0</leading>
|
268 |
<tabs>2</tabs>
|
269 |
<throws>-1</throws>
|
270 |
<trailingComment>1</trailingComment>
|
271 |
</sizes>
|
272 |
<tabs>
|
273 |
<enable>true</enable>
|
274 |
<onlyLeading>false</onlyLeading>
|
275 |
</tabs>
|
276 |
</indentation>
|
277 |
<misc>
|
278 |
<arrayBracketsAfterIdent>false</arrayBracketsAfterIdent>
|
279 |
<forceFormatting>false</forceFormatting>
|
280 |
<insertExpressionParentheses>false</insertExpressionParentheses>
|
281 |
<insertLoggingConditional>true</insertLoggingConditional>
|
282 |
<insertTrailingNewline>true</insertTrailingNewline>
|
283 |
<insertUID>false</insertUID>
|
284 |
</misc>
|
285 |
<sorting>
|
286 |
<declaration>
|
287 |
<class>false</class>
|
288 |
<constructor>false</constructor>
|
289 |
<enable>true</enable>
|
290 |
<interface>false</interface>
|
291 |
<method>false</method>
|
292 |
<order>static|field|initializer|constructor|method|interface|class</order>
|
293 |
<variable>true</variable>
|
294 |
</declaration>
|
295 |
<modifier>
|
296 |
<enable>false</enable>
|
297 |
<order>private|protected|public|abstract|static|final|synchronized|transient|volatile|native|strictfp</order>
|
298 |
</modifier>
|
299 |
</sorting>
|
300 |
<whitespace>
|
301 |
<after>
|
302 |
<comma>true</comma>
|
303 |
<semicolon>true</semicolon>
|
304 |
<typeCast>true</typeCast>
|
305 |
</after>
|
306 |
<before>
|
307 |
<braces>true</braces>
|
308 |
<brackets>false</brackets>
|
309 |
<bracketsTypes>true</bracketsTypes>
|
310 |
<caseColon>true</caseColon>
|
311 |
<operator>
|
312 |
<not>false</not>
|
313 |
</operator>
|
314 |
<parentheses>
|
315 |
<methodCall>false</methodCall>
|
316 |
<methodDeclaration>false</methodDeclaration>
|
317 |
<statement>true</statement>
|
318 |
</parentheses>
|
319 |
</before>
|
320 |
<padding>
|
321 |
<braces>false</braces>
|
322 |
<brackets>false</brackets>
|
323 |
<operator>
|
324 |
<assignment>true</assignment>
|
325 |
<bitwise>true</bitwise>
|
326 |
<logical>true</logical>
|
327 |
<mathematical>true</mathematical>
|
328 |
<relational>true</relational>
|
329 |
<shift>true</shift>
|
330 |
</operator>
|
331 |
<parenthesis>false</parenthesis>
|
332 |
<typeCast>false</typeCast>
|
333 |
</padding>
|
334 |
</whitespace>
|
335 |
<wrapping>
|
336 |
<always>
|
337 |
<after>
|
338 |
<arrayElement>0</arrayElement>
|
339 |
<braceRight>true</braceRight>
|
340 |
<extendsTypes>false</extendsTypes>
|
341 |
<implementsTypes>false</implementsTypes>
|
342 |
<label>true</label>
|
343 |
<methodCallChained>false</methodCallChained>
|
344 |
<ternaryOperator>
|
345 |
<first>false</first>
|
346 |
<second>false</second>
|
347 |
</ternaryOperator>
|
348 |
<throwsTypes>false</throwsTypes>
|
349 |
</after>
|
350 |
<before>
|
351 |
<braceLeft>true</braceLeft>
|
352 |
<extends>false</extends>
|
353 |
<implements>false</implements>
|
354 |
<throws>false</throws>
|
355 |
</before>
|
356 |
<parameter>
|
357 |
<methodCall>false</methodCall>
|
358 |
<methodCallNested>false</methodCallNested>
|
359 |
<methodDeclaration>true</methodDeclaration>
|
360 |
</parameter>
|
361 |
</always>
|
362 |
<general>
|
363 |
<beforeOperator>true</beforeOperator>
|
364 |
<enable>true</enable>
|
365 |
<lineLength>79</lineLength>
|
366 |
</general>
|
367 |
<ondemand>
|
368 |
<after>
|
369 |
<assignment>false</assignment>
|
370 |
<leftParenthesis>true</leftParenthesis>
|
371 |
<parameter>true</parameter>
|
372 |
<types>
|
373 |
<extends>false</extends>
|
374 |
<implements>false</implements>
|
375 |
<throws>false</throws>
|
376 |
</types>
|
377 |
</after>
|
378 |
<before>
|
379 |
<rightParenthesis>false</rightParenthesis>
|
380 |
</before>
|
381 |
<groupingParentheses>false</groupingParentheses>
|
382 |
</ondemand>
|
383 |
</wrapping>
|
384 |
</printer>
|
385 |
</jalopy>
|