Repository navigation
Expand file tree
/
Copy pathopenjdk-style.html
More file actions
974 lines (729 loc) · 68.2 KB
/
Copy pathopenjdk-style.html
File metadata and controls
974 lines (729 loc) · 68.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 2.1.0 from src/site/xdoc/openjdk-style.xml at 2026-09-27
| Rendered using Apache Maven Fluido Skin 2.0.1
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 2.1.0" />
<title>OpenJDK's Style – checkstyle</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-2.0.1.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script src="./js/apache-maven-fluido-2.0.1.min.js"></script>
<script type="text/javascript" src="./js/checkstyle.js" defer async></script>
<script type="text/javascript" src="./js/anchors.js" defer async></script>
<script type="text/javascript"
src="./js/google-analytics.js" defer async></script>
<script type="text/javascript"
src="./js/copy-clipboard.js" defer async></script>
<link rel="icon" href="./images/favicon.png" type="image/x-icon" />
<link rel="shortcut icon" href="./images/favicon.ico" type="image/ico" />
<script src="./js/search.js" defer async></script>
</head>
<body>
<div class="container-fluid container-fluid-top">
<header>
<div id="banner">
<div class="pull-left"><div id="bannerLeft"><h1><a href="./"><img class="class java.lang.Object" src="images/header-checkstyle-logo.png" alt="Checkstyle" /></a></h1></div></div>
<div class="pull-right"><div id="bannerRight"><h1><img class="class java.lang.Object" src="images/header-right-ruler.png" /></h1></div></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2026-09-27</li>
<li id="projectVersion" class="pull-right"><span class="divider">|</span>Version: 14.3.0</li>
<li class="pull-right"><a>toTop</a></li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span4">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">About</li>
<li><a href="index.html">Checkstyle</a></li>
<li><a href="release-notes.html">Release Notes</a></li>
<li><a href="consulting.html">Consulting</a></li>
<li><a href="sponsoring.html">Sponsoring</a></li>
<li class="nav-header">Documentation</li>
<li><a href="getting-started.html">Getting Started</a></li>
<li><a href="config.html"><span class="icon-chevron-down"></span>Configuration</a>
<ul class="nav nav-list">
<li><a href="property-types.html">Property Types</a></li>
<li><a href="config-system-properties.html">System Properties</a></li>
<li><a href="xpath.html">XPath</a></li>
</ul></li>
<li><a href="running.html"><span class="icon-chevron-down"></span>Running</a>
<ul class="nav nav-list">
<li><a href="ant-task.html">Ant Task</a></li>
<li><a href="cmdline.html">Command Line</a></li>
<li><a href="result-reports.html">Result Reports</a></li>
</ul></li>
<li><a href="checks.html"><span class="icon-chevron-down"></span>Checks</a>
<ul class="nav nav-list">
<li><a href="checks/annotation/index.html"><span class="icon-chevron-right"></span>Annotations</a></li>
<li><a href="checks/blocks/index.html"><span class="icon-chevron-right"></span>Block Checks</a></li>
<li><a href="checks/design/index.html"><span class="icon-chevron-right"></span>Class Design</a></li>
<li><a href="checks/coding/index.html"><span class="icon-chevron-right"></span>Coding</a></li>
<li><a href="checks/header/index.html"><span class="icon-chevron-right"></span>Headers</a></li>
<li><a href="checks/imports/index.html"><span class="icon-chevron-right"></span>Imports</a></li>
<li><a href="checks/javadoc/index.html"><span class="icon-chevron-right"></span>Javadoc Comments</a></li>
<li><a href="checks/metrics/index.html"><span class="icon-chevron-right"></span>Metrics</a></li>
<li><a href="checks/misc/index.html"><span class="icon-chevron-right"></span>Miscellaneous</a></li>
<li><a href="checks/modifier/index.html"><span class="icon-chevron-right"></span>Modifiers</a></li>
<li><a href="checks/modules/index.html"><span class="icon-chevron-right"></span>Modules</a></li>
<li><a href="checks/naming/index.html"><span class="icon-chevron-right"></span>Naming Conventions</a></li>
<li><a href="checks/regexp/index.html"><span class="icon-chevron-right"></span>Regexp</a></li>
<li><a href="checks/sizes/index.html"><span class="icon-chevron-right"></span>Size Violations</a></li>
<li><a href="checks/whitespace/index.html"><span class="icon-chevron-right"></span>Whitespace</a></li>
</ul></li>
<li><a href="filters/index.html"><span class="icon-chevron-right"></span>Filters</a></li>
<li><a href="filefilters/index.html"><span class="icon-chevron-right"></span>File Filters</a></li>
<li><a href="style-configs.html"><span class="icon-chevron-down"></span>Style Configurations</a>
<ul class="nav nav-list">
<li><a href="google-style.html">Google's Style</a></li>
<li class="active"><a>OpenJDK's Style</a></li>
<li><a href="sun-style.html">Sun's Style</a></li>
<li><a href="doc-comments-style.html">Documentation Comments Style</a></li>
</ul></li>
<li class="nav-header">Developers</li>
<li><a href="extending.html"><span class="icon-chevron-down"></span>Extending Checkstyle</a>
<ul class="nav nav-list">
<li><a href="writing-checks.html">Writing Checks</a></li>
<li><a href="writing-javadoc-checks.html">Writing Javadoc Checks</a></li>
<li><a href="writing-filters.html">Writing Filters</a></li>
<li><a href="writing-filefilters.html">Writing File Filters</a></li>
<li><a href="writing-listeners.html">Writing Listeners</a></li>
</ul></li>
<li><a href="contributing.html">Contributing</a></li>
<li><a href="beginning-development.html"><span class="icon-chevron-down"></span>Beginning Development</a>
<ul class="nav nav-list">
<li><a href="eclipse.html">Eclipse IDE</a></li>
<li><a href="netbeans.html">NetBeans IDE</a></li>
<li><a href="idea.html">IntelliJ IDE</a></li>
</ul></li>
<li><a href="apidocs/index.html">Javadoc</a></li>
<li class="nav-header">Project Documentation</li>
<li><a href="project-info.html"><span class="icon-chevron-right"></span>Project Information</a></li>
<li><a href="project-reports.html"><span class="icon-chevron-right"></span>Project Reports</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<a href="https://github.com/checkstyle/checkstyle" class="builtBy"><img class="builtBy" src="images/github_logo_social_coding_outlined.png" alt="GitHub" /></a>
<a href="https://twitter.com/checkstyle_java/" class="builtBy"><img class="builtBy" src="images/twitter_button.png" alt="Twitter" /></a>
<a href="https://stackoverflow.com/questions/tagged/checkstyle" class="builtBy"><img class="builtBy" src="images/stackoverflow.jpeg" alt="Stackoverflow" /></a>
<a href="https://groups.google.com/forum/#!forum/checkstyle" class="builtBy"><img class="builtBy" src="images/groups.png" alt="GoogleGroups" /></a>
<a href="https://www.ej-technologies.com/products/jprofiler/overview.html" class="builtBy"><img class="builtBy" src="https://www.ej-technologies.com/images/product_banners/jprofiler_medium.png" alt="JProfiler" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span8">
<section><a id="OpenJDK.27s_Java_Style_Checkstyle_Coverage"></a>
<h1>OpenJDK's Java Style Checkstyle Coverage</h1>
<div class="toc-panel">
<input type="checkbox" id="toc-toggle" class="toc-toggle-checkbox" checked="checked" />
<label for="toc-toggle" class="toc-toggle-arrow" title="Collapse"> </label>
<div class="toc-content">
<p class="toc-heading">On This Page</p>
<ul class="toc-list">
<li><a href="#OpenJDK_Useful_information">Useful information</a></li>
<li><a href="#OpenJDK_Legend">Legend</a></li>
<li><a href="#OpenJDK_Coverage_table">Coverage table</a></li>
<li><a href="#OpenJDK_Header">Header</a></li>
<li><a href="#OpenJDK_Severity_Level">Severity Level</a></li>
<li><a href="#OpenJDK_Suppressions">Suppressions</a></li>
</ul>
</div>
</div>
<a id="OpenJDK_Useful_information"></a><section id="OpenJDK_Useful_information"><a id="Useful_information"></a>
<h2>Useful information</h2>
<p>
This coverage report was created for <a href="https://cr.openjdk.org/~alundblad/styleguide/index-v6.html" class="externalLink">OpenJDK Java Style</a> (<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html">cached page</a>), Draft v6, December 2015. </p>
<p>
The OpenJDK style guide says that, apart from <code>LF</code>, the only allowed whitespace character is Space, and that <code>\'</code>, <code>\"</code>, <code>\\</code>, <code>\t</code>, <code>\b</code>, <code>\r</code>, <code>\f</code>, and <code>\n</code> should be preferred over corresponding octal or Unicode escaped characters. </p>
<p>
<a href="https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/openjdk_checks.xml" class="externalLink"> Incomplete Checkstyle configuration for 'OpenJDK Java Style'</a> </p>
</section>
<a id="OpenJDK_Legend"></a><section id="OpenJDK_Legend"><a id="Legend"></a>
<h2>Legend</h2>
<p>
"???" - Report is incomplete in this line. <br />
"--" - There is no rule in this paragraph. <br />
"↓" - This paragraph is the high-level point of some group. <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> - Existing Check covers all requirements from OpenJDK. <br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> - Existing Check covers some part of requirements from OpenJDK. <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> - Requirements are not possible to check by Checkstyle at all. <br />
</p>
</section>
<a id="OpenJDK_Coverage_table"></a><section id="OpenJDK_Coverage_table"><a id="Coverage_table"></a>
<h2>Coverage table</h2>
<p>
<b>ATTENTION:</b> Links to config and test in following table reference to latest (not released yet) config. Config might be slightly different from what we have in latest release. Please always use config that is embedded to jar or use a custom version copied from one that matches your checkstyle version. </p>
<div class="wrapper">
<table class="table table-striped">
<thead>
<tr class="a">
<th></th>
<th>OpenJDK's Java Style Rule</th>
<th>Checkstyle Check</th>
<th>Applied to config</th>
</tr>
</thead>
<tbody>
<tr class="b">
<td>
<a id="introduction"></a> <a href="#introduction"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#introduction"> <strong>Introduction</strong> </a> </td>
<td>--</td>
<td></td>
</tr>
<tr class="a">
<td>
<a id="motivation"></a> <a href="#motivation"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#motivation"> Motivation </a> </td>
<td>--</td>
<td></td>
</tr>
<tr class="b">
<td>
<a id="guiding-principles"></a> <a href="#guiding-principles"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#guiding-principles"> Guiding Principles </a> </td>
<td>--</td>
<td></td>
</tr>
<tr class="a">
<td>
<a id="java-source-files"></a> <a href="#java-source-files"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#java-source-files"> <strong>Java Source Files</strong> </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="https://checkstyle.org/config.html#Checker" class="externalLink">charset=US-ASCII</a>, <a href="checks/misc/lineending.html#LineEnding">LineEnding</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LineEnding" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/regexp/regexpsingleline.html#RegexpSingleline"> RegexpSingleline</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+RegexpSingleline" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/outertypefilename.html#OuterTypeFilename"> OuterTypeFilename</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OuterTypeFilename" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterjavasourcefiles/rulejavasourcefiles" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="special-characters"></a> <a href="#special-characters"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#special-characters"> Special Characters </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/illegaltokentext.html#IllegalTokenText"> IllegalTokenText</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+IllegalTokenText" class="externalLink"> config</a>), <a href="checks/misc/avoidescapedunicodecharacters.html#AvoidEscapedUnicodeCharacters"> AvoidEscapedUnicodeCharacters</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+AvoidEscapedUnicodeCharacters" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterjavasourcefiles/rulespecialcharacters" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="formatting"></a> <a href="#formatting"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#formatting"> <strong>Formatting</strong> </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/design/onetoplevelclass.html#OneTopLevelClass"> OneTopLevelClass</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OneTopLevelClass" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleformatting" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="copyright-notice"></a> <a href="#copyright-notice"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#copyright-notice"> Copyright notice </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/header/multifileregexpheader.html#MultiFileRegexpHeader"> MultiFileRegexpHeader</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MultiFileRegexpHeader" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulecopyrightnotice" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="package-declaration"></a> <a href="#package-declaration"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#package-declaration"> Package declaration </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/nolinewrap.html#NoLineWrap"> NoLineWrap</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NoLineWrap" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulepackagedeclaration" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="import-statements"></a> <a href="#import-statements"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#import-statements"> Import statements </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/imports/importorder.html#ImportOrder">ImportOrder</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ImportOrder" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/nolinewrap.html#NoLineWrap">NoLineWrap</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NoLineWrap" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/imports/unusedimports.html#UnusedImports">UnusedImports</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+UnusedImports" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleimportstatements" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="wildcard-imports"></a> <a href="#wildcard-imports"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#wildcard-imports"> Wildcard Imports </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/imports/avoidstarimport.html#AvoidStarImport">AvoidStarImport</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+AvoidStarImport" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulewildcardimports" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="class-structure"></a> <a href="#class-structure"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#class-structure"> Class Structure </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/coding/declarationorder.html#DeclarationOrder">DeclarationOrder</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+DeclarationOrder" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Factory Method is not covered by DeclarationOrder. Checkstyle is a static tool it can not determine the difference between normal and factory methods and also the relation between fields can not be determined. <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Ordering of nested types can not be covered until <a href="https://github.com/checkstyle/checkstyle/issues/19636" class="externalLink"> #19636 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleclassstructure" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="order-of-constructors-and-overloaded-methods"></a> <a href="#order-of-constructors-and-overloaded-methods"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#order-of-constructors-and-overloaded-methods"> Order of Constructors and Overloaded Methods </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/overloadmethodsdeclarationorder.html#OverloadMethodsDeclarationOrder"> OverloadMethodsDeclarationOrder</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OverloadMethodsDeclarationOrder" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/constructorsdeclarationgrouping.html#ConstructorsDeclarationGrouping"> ConstructorsDeclarationGrouping</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ConstructorsDeclarationGrouping" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleorderofconstructorsandoverloadedmethods" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="modifiers"></a> <a href="#modifiers"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#modifiers"> Modifiers </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/modifier/redundantmodifier.html#RedundantModifier">RedundantModifier</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+RedundantModifier" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/modifier/modifierorder.html#ModifierOrder">ModifierOrder</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ModifierOrder" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Checkstyle can not determine whether a final modifier increases the readability of method parameters and local variables and also we can not find is there any compelling reason present for a field which is declared as final. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulemodifiers" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="braces"></a> <a href="#braces"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#braces"> Braces </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/blocks/leftcurly.html#LeftCurly">LeftCurly</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LeftCurly" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/blocks/rightcurly.html#RightCurly">RightCurly</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+RightCurly" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/blocks/needbraces.html#NeedBraces">NeedBraces</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NeedBraces" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Closing braces rule can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/7541" class="externalLink"> #7541 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulebraces" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="short-forms"></a> <a href="#short-forms"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#short-forms"> Short Forms </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/blocks/leftcurly.html#LeftCurly">LeftCurly</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LeftCurly" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> This section can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/7541" class="externalLink"> #7541 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleshortforms" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="indentation"></a> <a href="#indentation"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#indentation"> Indentation </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/filetabcharacter.html#FileTabCharacter"> FileTabCharacter</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+FileTabCharacter" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/indentation.html#Indentation">Indentation</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+Indentation" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleindentation" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="wrapping-lines"></a> <a href="#wrapping-lines"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#wrapping-lines"> Wrapping Lines </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/sizes/linelength.html#LineLength"> LineLength</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LineLength" class="externalLink"> config</a>) <br />
Checkstyle is a static tool it can only apply strict column limit it can not apply column limit on basis of readability. <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Wrapping at a higher syntactical level rule not covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20716" class="externalLink"> #20716 </a> <br />
<br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/coding/onestatementperline.html#OneStatementPerLine"> OneStatementPerLine</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OneStatementPerLine" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/misc/indentation.html#Indentation"> Indentation</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+Indentation" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Not completely covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20714" class="externalLink"> #20714 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulewrappinglines" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="wrapping-class-declarations"></a> <a href="#wrapping-class-declarations"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#wrapping-class-declarations"> Wrapping Class Declarations </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> This section can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20595" class="externalLink"> #20595 </a> </td>
<td></td>
</tr>
<tr class="b">
<td>
<a id="wrapping-method-declarations"></a> <a href="#wrapping-method-declarations"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#wrapping-method-declarations"> Wrapping Method Declarations </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Parameter alignment rule can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20638" class="externalLink"> #20638 </a> <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/openjdkmethodthrowsalignment.html#OpenjdkMethodThrowsAlignment">OpenjdkMethodThrowsAlignment</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OpenjdkMethodThrowsAlignment" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulewrappingmethoddeclarations" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="wrapping-expressions"></a> <a href="#wrapping-expressions"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#wrapping-expressions"> Wrapping Expressions </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/whitespace/operatorwrap.html#OperatorWrap">OperatorWrap</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OperatorWrap" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> False positive is present for lambda expression: <a href="https://github.com/checkstyle/checkstyle/issues/20541" class="externalLink"> #20541 </a> <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/separatorwrap.html#SeparatorWrap">SeparatorWrap</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SeparatorWrap" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> We can not distinguish whether a line breaks into multiple statements or expressions or the line is simply wrapped. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulewrappingexpressions" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="whitespace"></a> <a href="#whitespace"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#whitespace"> Whitespace </a> </td>
<td>↓</td>
<td></td>
</tr>
<tr class="a">
<td>
<a id="vertical-whitespace"></a> <a href="#vertical-whitespace"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#vertical-whitespace"> Vertical Whitespace </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/emptylineseparator.html#EmptyLineSeparator">EmptyLineSeparator</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+EmptyLineSeparator" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleverticalwhitespace" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="horizontal-whitespace"></a> <a href="#horizontal-whitespace"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#horizontal-whitespace"> Horizontal Whitespace </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/whitespacearound.html#WhitespaceAround">WhitespaceAround</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+WhitespaceAround" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/whitespaceafter.html#WhitespaceAfter">WhitespaceAfter</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+WhitespaceAfter" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/nowhitespacebefore.html#NoWhitespaceBefore">NoWhitespaceBefore</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NoWhitespaceBefore" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/nowhitespacebeforecasedefaultcolon.html#NoWhitespaceBeforeCaseDefaultColon">NoWhitespaceBeforeCaseDefaultColon</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NoWhitespaceBeforeCaseDefaultColon" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/parenpad.html#ParenPad">ParenPad</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ParenPad" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/typecastparenpad.html#TypecastParenPad">TypecastParenPad</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+TypecastParenPad" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/matchxpath.html#MatchXpath">MatchXpath</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MatchXpath" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/whitespace/singlespaceseparator.html#SingleSpaceSeparator">SingleSpaceSeparator</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SingleSpaceSeparator" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulehorizontalwhitespace" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="variable-declarations"></a> <a href="#variable-declarations"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#variable-declarations"> Variable Declarations </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/multiplevariabledeclarations.html#MultipleVariableDeclarations"> MultipleVariableDeclarations</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MultipleVariableDeclarations" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/arraytypestyle.html#ArrayTypeStyle"> ArrayTypeStyle</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ArrayTypeStyle" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/variabledeclarationusagedistance.html#VariableDeclarationUsageDistance"> VariableDeclarationUsageDistance</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+VariableDeclarationUsageDistance" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulevariabledeclarations" class="externalLink"> samples</a> </td>
</tr>
<tr class="b">
<td>
<a id="annotations"></a> <a href="#annotations"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#annotations"> Annotations </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/annotation/openjdkannotationlocation.html#OpenjdkAnnotationLocation"> OpenjdkAnnotationLocation</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+OpenjdkAnnotationLocation" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleannotations" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="lambda-expressions"></a> <a href="#lambda-expressions"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#lambda-expressions"> Lambda Expressions </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/sizes/lambdabodylength.html#LambdaBodyLength"> LambdaBodyLength</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LambdaBodyLength" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Expressions over single line lambda not covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20692" class="externalLink"> #20692 </a> <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Method Reference over lambda expressions not covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20693" class="externalLink"> #20693 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulelambdaexpressions" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="redundant-parentheses"></a> <a href="#redundant-parentheses"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#redundant-parentheses"> Redundant Parentheses </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/matchxpath.html#MatchXpath"> MatchXpath</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MatchXpath" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Note: Automated enforcement of this rule is not supported, as determining whether redundant parentheses improve code readability requires human context and subjective judgment. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleredundantparenthesis" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="literals"></a> <a href="#literals"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#literals"> Literals </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/upperell.html#UpperEll">UpperEll</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+UpperEll" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/hexliteralcase.html#HexLiteralCase"> HexLiteralCase</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+HexLiteralCase" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/numericalprefixesinfixessuffixescharactercase.html#NumericalPrefixesInfixesSuffixesCharacterCase"> NumericalPrefixesInfixesSuffixesCharacterCase</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+NumericalPrefixesInfixesSuffixesCharacterCase" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/ruleliterals" class="externalLink"> samples</a> </td>
</tr>
<tr class="b">
<td>
<a id="javadoc"></a> <a href="#javadoc"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#javadoc"> Javadoc </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/javadoc/summaryjavadoc.html#SummaryJavadoc"> SummaryJavadoc</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SummaryJavadoc" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/javadoc/javadoccontentlocation.html#JavadocContentLocation"> JavadocContentLocation</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+JavadocContentLocation" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/javadoc/preferliteraljavadocinlinetag.html#PreferLiteralJavadocInlineTag"> PreferLiteralJavadocInlineTag</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+PreferLiteralJavadocInlineTag" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Inline tag rule can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20980" class="externalLink"> #20980 </a> <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Paragraph tag rule can not be covered until: <a href="https://github.com/checkstyle/checkstyle/issues/20628" class="externalLink"> #20628 </a> </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterformatting/rulejavadoc" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="naming"></a> <a href="#naming"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#naming"> <strong>Naming</strong> </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/coding/hiddenfield.html#HiddenField">HiddenField</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+HiddenField" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Method and Type Variables shadowing can not be covered due to checkstyle limitations: <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Checkstyle is a Static analysis tool. It lacks the linguistic dictionary and contextual awareness required to identify verbosity of a names and determine whether a name is descriptive or not. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/rulenaming" class="externalLink"> samples</a> </td>
</tr>
<tr class="b">
<td>
<a id="package-names"></a> <a href="#package-names"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#package-names"> Package Names </a> </td>
<td>
<p>
Note: Detection of plural forms or semantic word variations is not supported, as there is no valid method to do it. </p>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/packagename.html#PackageName">PackageName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+PackageName" class="externalLink">config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/rulepackagenames" class="externalLink"> samples </a> </td>
<td></td>
</tr>
<tr class="a">
<td>
<a id="class-interface-and-enum-names"></a> <a href="#class-interface-and-enum-names"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#class-interface-and-enum-names"> Class, Interface and Enum Names </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/typename.html#TypeName">TypeName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+TypeName" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/abbreviationaswordinname.html#AbbreviationAsWordInName"> AbbreviationAsWordInName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+AbbreviationAsWordInName" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Checkstyle is a Static analysis tool. It lacks the linguistic dictionary and contextual awareness required to identify grammatical parts of speech like nouns or adjectives. Consequently, it cannot evaluate word meanings to judge whether an abbreviation is widely understood or if a term is being used correctly. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/ruleclassinterfaceandenumnames" class="externalLink"> samples</a> </td>
</tr>
<tr class="b">
<td>
<a id="method-names"></a> <a href="#method-names"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#method-names"> Method Names </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/methodname.html#MethodName">MethodName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MethodName" class="externalLink"> config</a>) <br />
Method names should typically be verbs or other descriptions of actions. This cannot be fully covered because Checkstyle does not have English vocabulary to determine whether a method name is a verb or action description. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/rulemethodnames" class="externalLink"> samples</a> </td>
</tr>
<tr class="a">
<td>
<a id="variables"></a> <a href="#variables"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#variables"> Variables </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/membername.html#MemberName">MemberName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MemberName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/staticvariablename.html#StaticVariableName">StaticVariableName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+StaticVariableName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/localvariablename.html#LocalVariableName">LocalVariableName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LocalVariableName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/localfinalvariablename.html#LocalFinalVariableName">LocalFinalVariableName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LocalFinalVariableName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/parametername.html#ParameterName">ParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/lambdaparametername.html#LambdaParameterName">LambdaParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+LambdaParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/patternvariablename.html#PatternVariableName">PatternVariableName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+PatternVariableName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/recordcomponentname.html#RecordComponentName">RecordComponentName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+RecordComponentName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/naming/catchparametername.html#CatchParameterName">CatchParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+CatchParameterName" class="externalLink"> config</a>) </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/rulevariables" class="externalLink"> samples</a> </td>
</tr>
<tr class="b">
<td>
<a id="type-variables"></a> <a href="#type-variables"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#type-variables"> Type Variables </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/classtypeparametername.html#ClassTypeParameterName"> ClassTypeParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ClassTypeParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/interfacetypeparametername.html#InterfaceTypeParameterName"> InterfaceTypeParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+InterfaceTypeParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/methodtypeparametername.html#MethodTypeParameterName"> MethodTypeParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MethodTypeParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/recordtypeparametername.html#RecordTypeParameterName"> RecordTypeParameterName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+RecordTypeParameterName" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Checkstyle is a Static analysis tool. It lacks the linguistic dictionary and contextual awareness required to identify that a given word is descriptive or not also it can not determine that a given case is complex or simple. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/ruletypevariables" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="constants"></a> <a href="#constants"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#constants"> Constants </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/constantname.html#ConstantName"> ConstantName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ConstantName" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/naming/illegalidentifiername.html#IllegalIdentifierName"> IllegalIdentifierName</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+IllegalIdentifierName" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> These checks partially covers the rule for constants because these can not determine whether two words are separated by underscore (_) or not. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapternaming/ruleconstants" class="externalLink"> samples </a> </td>
</tr>
<tr class="b">
<td>
<a id="programming-practices"></a> <a href="#programming-practices"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#programming-practices"> <strong>Programming Practices</strong> </a> </td>
<td>
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/annotation/missingoverrideonrecordaccessor.html#MissingOverrideOnRecordAccessor"> MissingOverrideOnRecordAccessor</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MissingOverrideOnRecordAccessor" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Only checks missing override for explicitly declared record accessor methods. <br />
<br />
<span class="wrapper inline"> <img src="images/ok_blue.png" alt="" /> </span> <a href="checks/annotation/missingoverride.html#MissingOverride"> MissingOverride</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MissingOverride" class="externalLink"> config</a>) <br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Only checks for missing override when @inheritDoc javadoc tag is present. <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/sizes/methodlength.html#MethodLength"> MethodLength</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MethodLength" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/fallthrough.html#FallThrough"> FallThrough</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+FallThrough" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/matchxpath.html#MatchXpath"> MatchXpath</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+MatchXpath" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/coding/parameterassignment.html#ParameterAssignment"> ParameterAssignment</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+ParameterAssignment" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ok_green.png" alt="" /> </span> <a href="checks/misc/todocomment.html#TodoComment"> TodoComment</a> (<a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+TodoComment" class="externalLink"> config</a>) <br />
<br />
<span class="wrapper inline"> <img src="images/ban_red.png" alt="" /> </span> Some rules cannot be covered due to limitations of checkstyle like checkstyle cannot determine whether code is dead or not or all non-obvious pre and post conditions are documented or not or a static field/method is called using class identifiers and not variable identifiers. </td>
<td>
<a href="https://github.com/checkstyle/checkstyle/tree/master/src/it/resources/com/openjdk/checkstyle/test/chapterprogrammingpractices/ruleprogrammingpractices" class="externalLink"> samples </a> </td>
</tr>
<tr class="a">
<td>
<a id="commenting-code"></a> <a href="#commenting-code"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#commenting-code"> Commenting Code </a> </td>
<td>--</td>
<td></td>
</tr>
<tr class="b">
<td>
<a id="when-to-reformat-code"></a> <a href="#when-to-reformat-code"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#when-to-reformat-code"> <strong>When to reformat code</strong> </a> </td>
<td>--</td>
<td></td>
</tr>
<tr class="a">
<td>
<a id="cases-not-covered"></a> <a href="#cases-not-covered"> <span class="wrapper inline"> <img src="images/anchor.png" alt="" /> </span> </a> </td>
<td>
<a href="styleguides/openjdk-java-style-v6/openjdk-styleguide.html#cases-not-covered"> <strong>Cases not covered</strong> </a> </td>
<td>--</td>
<td></td>
</tr>
</tbody>
</table>
</div>
</section>
<a id="OpenJDK_Header"></a><section id="OpenJDK_Header"><a id="Header"></a>
<h2>Header</h2>
<p>
For enabling copyright-notice validation, add your custom header file paths using the following system property: </p>
<p>
<code>header.file.paths.separated.by.coma</code> </p>
<p>
Until this variable is not configured, no header validation will be performed. </p>
</section>
<a id="OpenJDK_Severity_Level"></a><section id="OpenJDK_Severity_Level"><a id="Severity_Level"></a>
<h2>Severity Level</h2>
<p>
To adjust the default severity level for violations using Checkstyle's OpenJDK style configuration, set the following system property: </p>
<p>
<code>org.checkstyle.openjdk.severity</code> </p>
<p>
For detailed guidance on severity levels, refer to the <a href="./property-types.html#SeverityLevel">Severity Level</a>. To configure this property, see the instructions for the <a href="./cmdline.html#Command_line_usage">CLI's <code>-p</code> option</a> , or use the <a href="./ant-task.html#Parameters"><code>properties</code> parameter in Ant</a>, or set the Java system property before running Checkstyle. </p>
</section>
<a id="OpenJDK_Suppressions"></a><section id="OpenJDK_Suppressions"><a id="Suppressions"></a>
<h2>Suppressions</h2>
<p>
It is possible to suppress some violations by embedded filters <a href="filters/suppressionfilter.html#SuppressionFilter"> SuppressionFilter</a>, <a href="filters/suppressionxpathfilter.html#SuppressionXpathFilter"> SuppressionXpathFilter</a>, <a href="filters/suppresswithnearbycommentfilter.html#SuppressWithNearbyCommentFilter"> SuppressWithNearbyCommentFilter</a>, <a href="filters/suppressioncommentfilter.html#SuppressionCommentFilter"> SuppressionCommentFilter</a>, <a href="filters/suppresswarningsfilter.html#SuppressWarningsFilter"> SuppressWarningsFilter</a> and <a href="filters/suppresswithnearbytextfilter.html#SuppressWithNearbyTextFilter"> SuppressWithNearbyTextFilter</a>. </p>
<p>
Location of config file for <a href="filters/suppressionfilter.html#SuppressionFilter">SuppressionFilter</a> can be defined by system property <i>org.checkstyle.openjdk.suppressionfilter.config</i> (default value is <i>checkstyle-suppressions.xml</i>). </p>
<p>
Location of config file for <a href="filters/suppressionxpathfilter.html#SuppressionXpathFilter">SuppressionXpathFilter</a> can be defined by system property <i>org.checkstyle.openjdk.suppressionxpathfilter.config</i> (default value is <i>checkstyle-xpath-suppressions.xml</i>). </p>
<p>
To suppress a check in the next line of code using <a href="filters/suppresswithnearbycommentfilter.html#SuppressWithNearbyCommentFilter"> SuppressWithNearbyCommentFilter</a>precede the line of code with <i>// CHECKSTYLE.SUPPRESS: NameOfTheCheck</i> (replace <i>NameOfTheCheck</i> with the actual check to be suppressed). </p>
<p>
To suppress a check on a block of code using <a href="filters/suppressioncommentfilter.html#SuppressionCommentFilter">SuppressionCommentFilter</a> add <i>// CHECKSTYLE.OFF: NameOfTheCheck</i> before the beginning of the code block and <i>// CHECKSTYLE.ON: NameOfTheCheck</i> after the end of the code block (replace <i>NameOfTheCheck</i> with the actual check to be suppressed). </p>
<p>
To suppress a check using <a href="filters/suppresswarningsfilter.html#SuppressWarningsFilter">SuppressWarningsFilter</a> use Java's<i>@SuppressWarnings({"checkstyle:name_of_the_check", ...})</i> annotation. Each value passed in the array parameter must meet the format <i>checkstyle:name_of_the_check</i> where the <i>checkstyle:</i> is optional and <i>name_of_the_check</i> is the actual name of check to be suppressed in lowercase format. </p>
<p>
To suppress a check for few lines below or above, use <a href="filters/suppresswithnearbytextfilter.html#SuppressWithNearbyTextFilter"> SuppressWithNearbyTextFilter </a> suppression, use <code>// CHECKSTYLE.SUPPRESS: NameOfCheck for ([+-]\d+) lines</code> comment. ( replace NameOfCheck with the check you want to suppress. For suppressing a check few lines below, replace <i>([+-]\d+)</i> with <i>+NumberOfLines</i> where <i>NumberOfLines</i> is number of the lines below from the comment's line number, for suppressing a check few lines above, use "-" instead of "+". ) </p>
<p>
For more details please review exact configuration of Filters in openjdk_checks.xml: <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressionFilter" class="externalLink"> SuppressionFilter</a>, <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressionXpathFilter" class="externalLink"> SuppressionXpathFilter</a>, <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressWithNearbyCommentFilter" class="externalLink"> SuppressWithNearbyCommentFilter</a>, <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressionCommentFilter" class="externalLink"> SuppressionCommentFilter</a>, <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressWarningsFilter" class="externalLink"> SuppressWarningsFilter</a>, <a href="https://github.com/search?q=path%3Asrc%2Fmain%2Fresources%20path%3A**%2Fopenjdk_checks.xml+repo%3Acheckstyle%2Fcheckstyle+SuppressWithNearbyTextFilter" class="externalLink"> SuppressWithNearbyTextFilter</a> </p>
</section>
</section>
</main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p>© 2001–2026
</p>
</div>
</div>
</footer>
</body>
</html>