git_sniffer 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +19 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +81 -0
- data/Rakefile +21 -0
- data/example/author_with_commits_changed_lines.rb +29 -0
- data/example/fixture/JSON-java.git/HEAD +1 -0
- data/example/fixture/JSON-java.git/config +11 -0
- data/example/fixture/JSON-java.git/description +1 -0
- data/example/fixture/JSON-java.git/hooks/applypatch-msg.sample +15 -0
- data/example/fixture/JSON-java.git/hooks/commit-msg.sample +24 -0
- data/example/fixture/JSON-java.git/hooks/post-update.sample +8 -0
- data/example/fixture/JSON-java.git/hooks/pre-applypatch.sample +14 -0
- data/example/fixture/JSON-java.git/hooks/pre-commit.sample +50 -0
- data/example/fixture/JSON-java.git/hooks/pre-rebase.sample +169 -0
- data/example/fixture/JSON-java.git/hooks/prepare-commit-msg.sample +36 -0
- data/example/fixture/JSON-java.git/hooks/update.sample +128 -0
- data/example/fixture/JSON-java.git/index +0 -0
- data/example/fixture/JSON-java.git/info/exclude +6 -0
- data/example/fixture/JSON-java.git/logs/HEAD +1 -0
- data/example/fixture/JSON-java.git/logs/refs/heads/master +1 -0
- data/example/fixture/JSON-java.git/logs/refs/remotes/origin/HEAD +1 -0
- data/example/fixture/JSON-java.git/objects/pack/pack-4a6120228a95b05b34afbfc44249afc220fd7b01.idx +0 -0
- data/example/fixture/JSON-java.git/objects/pack/pack-4a6120228a95b05b34afbfc44249afc220fd7b01.pack +0 -0
- data/example/fixture/JSON-java.git/packed-refs +2 -0
- data/example/fixture/JSON-java.git/refs/heads/master +1 -0
- data/example/fixture/JSON-java.git/refs/remotes/origin/HEAD +1 -0
- data/example/max_cc_changes_with_commits.rb +35 -0
- data/git_sniffer.gemspec +20 -0
- data/lib/git_sniffer.rb +10 -0
- data/lib/git_sniffer/base.rb +59 -0
- data/lib/git_sniffer/blob.rb +16 -0
- data/lib/git_sniffer/commit.rb +55 -0
- data/lib/git_sniffer/hook.rb +21 -0
- data/lib/git_sniffer/lazy.rb +28 -0
- data/lib/git_sniffer/memory_file.rb +21 -0
- data/lib/git_sniffer/metric_parsers.rb +15 -0
- data/lib/git_sniffer/object.rb +44 -0
- data/lib/git_sniffer/single_file_metric.rb +53 -0
- data/lib/git_sniffer/third_party_helper.rb +10 -0
- data/lib/git_sniffer/tree.rb +9 -0
- data/lib/git_sniffer/version.rb +3 -0
- data/spec/base_spec.rb +14 -0
- data/spec/blob_spec.rb +26 -0
- data/spec/commit_spec.rb +81 -0
- data/spec/fixture/simple_java.git/COMMIT_EDITMSG +1 -0
- data/spec/fixture/simple_java.git/HEAD +1 -0
- data/spec/fixture/simple_java.git/config +5 -0
- data/spec/fixture/simple_java.git/description +1 -0
- data/spec/fixture/simple_java.git/hooks/applypatch-msg.sample +15 -0
- data/spec/fixture/simple_java.git/hooks/commit-msg.sample +24 -0
- data/spec/fixture/simple_java.git/hooks/post-commit.sample +8 -0
- data/spec/fixture/simple_java.git/hooks/post-receive.sample +15 -0
- data/spec/fixture/simple_java.git/hooks/post-update.sample +8 -0
- data/spec/fixture/simple_java.git/hooks/pre-applypatch.sample +14 -0
- data/spec/fixture/simple_java.git/hooks/pre-commit.sample +46 -0
- data/spec/fixture/simple_java.git/hooks/pre-rebase.sample +172 -0
- data/spec/fixture/simple_java.git/hooks/prepare-commit-msg.sample +36 -0
- data/spec/fixture/simple_java.git/hooks/update.sample +128 -0
- data/spec/fixture/simple_java.git/index +0 -0
- data/spec/fixture/simple_java.git/info/exclude +6 -0
- data/spec/fixture/simple_java.git/logs/HEAD +6 -0
- data/spec/fixture/simple_java.git/logs/refs/heads/master +3 -0
- data/spec/fixture/simple_java.git/objects/00/cb610e642d0fac84ad4dac479b98ef447099cd +0 -0
- data/spec/fixture/simple_java.git/objects/23/e947f776b09fb585fbd16dca6b14ed4bd0c37e +0 -0
- data/spec/fixture/simple_java.git/objects/47/3e66f56cf9dcb2b875961937148e159b70d2b7 +2 -0
- data/spec/fixture/simple_java.git/objects/6b/468b62a9884e67ca19b673f8e14e1931d65036 +0 -0
- data/spec/fixture/simple_java.git/objects/b9/09f7f1c27fc2ac344d3abda0e705645f556180 +2 -0
- data/spec/fixture/simple_java.git/objects/c0/25dce424130b546754eb391a13eb601c4a243c +0 -0
- data/spec/fixture/simple_java.git/objects/ca/212902ea1d8694e51d1dd889b0072f2d3e7032 +0 -0
- data/spec/fixture/simple_java.git/objects/e1/d38109f134f22505b941ab6c11d5cc1e8b4f8b +0 -0
- data/spec/fixture/simple_java.git/objects/e9/b02fdf95aa827c0bb2c244622120886a452bab +0 -0
- data/spec/fixture/simple_java.git/objects/f0/50e6b7dfe73d6af9d867e3622c0cae3e818207 +0 -0
- data/spec/fixture/simple_java.git/objects/f8/15e728173402ce9c19b090e5b85f93c5c422bf +0 -0
- data/spec/fixture/simple_java.git/refs/heads/master +1 -0
- data/spec/fixture/single_commit.git/COMMIT_EDITMSG +1 -0
- data/spec/fixture/single_commit.git/HEAD +1 -0
- data/spec/fixture/single_commit.git/config +5 -0
- data/spec/fixture/single_commit.git/description +1 -0
- data/spec/fixture/single_commit.git/hooks/applypatch-msg.sample +15 -0
- data/spec/fixture/single_commit.git/hooks/commit-msg.sample +24 -0
- data/spec/fixture/single_commit.git/hooks/post-commit.sample +8 -0
- data/spec/fixture/single_commit.git/hooks/post-receive.sample +15 -0
- data/spec/fixture/single_commit.git/hooks/post-update.sample +8 -0
- data/spec/fixture/single_commit.git/hooks/pre-applypatch.sample +14 -0
- data/spec/fixture/single_commit.git/hooks/pre-commit.sample +46 -0
- data/spec/fixture/single_commit.git/hooks/pre-rebase.sample +172 -0
- data/spec/fixture/single_commit.git/hooks/prepare-commit-msg.sample +36 -0
- data/spec/fixture/single_commit.git/hooks/update.sample +128 -0
- data/spec/fixture/single_commit.git/index +0 -0
- data/spec/fixture/single_commit.git/info/exclude +6 -0
- data/spec/fixture/single_commit.git/logs/HEAD +1 -0
- data/spec/fixture/single_commit.git/logs/refs/heads/master +1 -0
- data/spec/fixture/single_commit.git/objects/3e/79e57cf125e8a8905ba91bd5e4ea1c3ee697c8 +3 -0
- data/spec/fixture/single_commit.git/objects/ba/77bcd50299e90d6ee00bd1cf3160512db635a8 +0 -0
- data/spec/fixture/single_commit.git/objects/e9/23f854774fc767cb9e02a3d0d616d188a81c53 +0 -0
- data/spec/fixture/single_commit.git/refs/heads/master +1 -0
- data/spec/fixture/single_file.git/COMMIT_EDITMSG +1 -0
- data/spec/fixture/single_file.git/HEAD +1 -0
- data/spec/fixture/single_file.git/config +5 -0
- data/spec/fixture/single_file.git/description +1 -0
- data/spec/fixture/single_file.git/hooks/applypatch-msg.sample +15 -0
- data/spec/fixture/single_file.git/hooks/commit-msg.sample +24 -0
- data/spec/fixture/single_file.git/hooks/post-update.sample +8 -0
- data/spec/fixture/single_file.git/hooks/pre-applypatch.sample +14 -0
- data/spec/fixture/single_file.git/hooks/pre-commit.sample +50 -0
- data/spec/fixture/single_file.git/hooks/pre-rebase.sample +169 -0
- data/spec/fixture/single_file.git/hooks/prepare-commit-msg.sample +36 -0
- data/spec/fixture/single_file.git/hooks/update.sample +128 -0
- data/spec/fixture/single_file.git/index +0 -0
- data/spec/fixture/single_file.git/info/exclude +6 -0
- data/spec/fixture/single_file.git/logs/HEAD +1 -0
- data/spec/fixture/single_file.git/logs/refs/heads/master +1 -0
- data/spec/fixture/single_file.git/objects/2e/9e543b5a88defe9ce9120cbac147cb6624d1bb +0 -0
- data/spec/fixture/single_file.git/objects/64/30ff7fb2944a0f0569fd1d416aaae3c09eafe0 +5 -0
- data/spec/fixture/single_file.git/objects/ee/a82e4e55fb15580ee5150a530f1785b94b378d +0 -0
- data/spec/fixture/single_file.git/refs/heads/master +1 -0
- data/spec/hook_spec.rb +73 -0
- data/spec/lazy_spec.rb +55 -0
- data/spec/object_spec.rb +27 -0
- data/spec/repo_cc_specslow.rb +41 -0
- data/spec/sha1_spec.rb +21 -0
- data/spec/single_file_metric_spec.rb +46 -0
- data/spec/spec_helper.rb +5 -0
- data/third_party_tools/checkstyle-5.6/LICENSE +504 -0
- data/third_party_tools/checkstyle-5.6/LICENSE.apache20 +202 -0
- data/third_party_tools/checkstyle-5.6/README +45 -0
- data/third_party_tools/checkstyle-5.6/RIGHTS.antlr +32 -0
- data/third_party_tools/checkstyle-5.6/antlr-2.7.7.jar +0 -0
- data/third_party_tools/checkstyle-5.6/checkstyle-5.6-all.jar +0 -0
- data/third_party_tools/checkstyle-5.6/checkstyle-5.6.jar +0 -0
- data/third_party_tools/checkstyle-5.6/checkstyle_checks.xml +218 -0
- data/third_party_tools/checkstyle-5.6/commons-beanutils-core-1.8.3.jar +0 -0
- data/third_party_tools/checkstyle-5.6/commons-cli-1.2.jar +0 -0
- data/third_party_tools/checkstyle-5.6/commons-logging-1.1.1.jar +0 -0
- data/third_party_tools/checkstyle-5.6/contrib/JavadocCheckDefault.java +62 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/docs/BCELConfig.xml +15 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/AbstractCheckVisitor.java +157 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/ClassFileSetCheck.java +317 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/EmptyClassFileVisitor.java +17 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/EmptyDeepVisitor.java +86 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/EmptyGenericVisitor.java +18 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/IDeepVisitor.java +25 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/IObjectSetVisitor.java +37 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/JavaClassWalker.java +40 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/ReferenceVisitor.java +194 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/VisitorSet.java +149 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/AbstractReferenceCheck.java +150 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/HiddenInheritedFieldCheck.java +64 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/HiddenStaticMethodCheck.java +88 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/UnreadFieldCheck.java +58 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/UnreadVariableCheck.java +130 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/UnusedMethodCheck.java +64 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/checks/messages.properties +5 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/FieldDefinition.java +89 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/FieldOrMethodDefinition.java +50 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/JavaClassDefinition.java +188 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/MethodDefinition.java +175 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/ReferenceDAO.java +140 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/classfile/Utils.java +39 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/FieldOrMethodReference.java +61 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/FieldReference.java +22 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/GETFIELDReference.java +28 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/GETSTATICReference.java +28 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/InvokeReference.java +38 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/PUTFIELDReference.java +28 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/PUTSTATICReference.java +28 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/checkstyle/com/puppycrawl/tools/checkstyle/bcel/generic/Utils.java +71 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/testinputs/com/puppycrawl/tools/checkstyle/bcel/checks/InheritLibrary.java +11 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/testinputs/com/puppycrawl/tools/checkstyle/bcel/checks/SubClass.java +54 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/testinputs/com/puppycrawl/tools/checkstyle/bcel/checks/SuperClass.java +46 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/tests/com/puppycrawl/tools/checkstyle/bcel/BcelCheckTestCase.java +127 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/tests/com/puppycrawl/tools/checkstyle/bcel/checks/HiddenInheritedFieldTest.java +22 -0
- data/third_party_tools/checkstyle-5.6/contrib/bcel/src/tests/com/puppycrawl/tools/checkstyle/bcel/checks/HiddenStaticMethodTest.java +22 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-author.xsl +230 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-csv.xsl +11 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-frames-errors.xsl +394 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-frames.xsl +382 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-noframes-severity-sorted.xsl +210 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-noframes-sorted.xsl +179 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-noframes.xsl +179 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-simple.xsl +71 -0
- data/third_party_tools/checkstyle-5.6/contrib/checkstyle-text.xsl +26 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/XInclude/NamespacesSAXParserFactoryImpl.java +21 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/XInclude/config.xml +26 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/XInclude/index.html +142 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/XInclude/treewalker.xml +7 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/all-checkstyle-checks.xml +1126 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/mycompany/checks/LimitImplementationFiles.java +69 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/mycompany/checks/MethodLimitCheck.java +63 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/mycompany/checks/messages.properties +2 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/Attribute.java +107 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/AttributeAxisIterator.java +98 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/DocumentNavigator.java +437 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/NodeIterator.java +122 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/XPathCheck.java +103 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/jaxen_LICENSE.txt +56 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/messages.properties +6 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/package.html +10 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/saxpath_LICENSE.txt +60 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/com/puppycrawl/tools/checkstyle/checks/xpath/xpath_config.xml +44 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/checks/mycompany_conf.xml +44 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/conf/BlochEffectiveJava.xml +113 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/conf/openorb.xml +139 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/conf/template_config.xml +788 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/filters/com/mycompany/filters/FilesFilter.java +34 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/linkErrors2Source/build.xml +70 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/linkErrors2Source/checkstyle-noframes.xsl +190 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/linkErrors2Source/readme.txt +6 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/listeners/com/mycompany/listeners/CommonsLoggingListener.java +127 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/listeners/com/mycompany/listeners/MailLogger.java +241 -0
- data/third_party_tools/checkstyle-5.6/contrib/examples/listeners/com/mycompany/listeners/VerboseListener.java +111 -0
- data/third_party_tools/checkstyle-5.6/contrib/hooks/git-pre-commit-hook.pl +72 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/AbstractUsageCheck.java +200 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/OneMethodPrivateFieldCheck.java +139 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/UnusedLocalVariableCheck.java +59 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/UnusedParameterCheck.java +132 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/UnusedPrivateFieldCheck.java +63 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/UnusedPrivateMethodCheck.java +244 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/messages.properties +5 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/messages_fi.properties +5 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/messages_fr.properties +5 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/package.html +10 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ASTManager.java +228 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ASTUtil.java +220 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/AnonymousInnerClass.java +62 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ArrayDef.java +154 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ArrayLengthMember.java +48 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/BaseScope.java +100 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/BlockDef.java +53 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ClassDef.java +362 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ClassImportException.java +35 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ClassManager.java +41 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/DefaultConstructor.java +65 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/DefaultScope.java +82 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Definition.java +203 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/DefinitionTraverser.java +139 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/DotIterator.java +108 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalClass.java +373 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalConstructor.java +101 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalDefinition.java +50 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalMethod.java +128 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalPackage.java +95 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalSignature.java +97 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ExternalVariable.java +76 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/IClass.java +142 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/IDefinition.java +84 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/IMethod.java +67 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/IPackage.java +63 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ISignature.java +58 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/IVariable.java +39 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/InterfaceConstructor.java +90 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/LabelDef.java +48 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/LiteralResolver.java +157 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/MethodDef.java +157 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/MethodSignature.java +138 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/MethodSpecificityComparator.java +59 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/NullClass.java +107 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Occurrence.java +131 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/PackageDef.java +66 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/PrimitiveClasses.java +107 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/QueryEngine.java +185 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Reference.java +141 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ReferenceCounter.java +88 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ReferenceThreshold.java +78 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ReferenceTool.java +55 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Resolver.java +1893 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Scope.java +124 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/ScopeIndex.java +140 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Span.java +153 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymTabAST.java +554 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymTabASTFactory.java +76 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymTabASTIterator.java +95 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymbolTable.java +274 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/SymbolTableException.java +35 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/TableMaker.java +1460 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/Typed.java +45 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/UnknownClass.java +174 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/VariableDef.java +132 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputEmptyFile.java +2 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputInnerUsedMethod.java +23 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputOneMethodPrivateField.java +114 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputUnusedField.java +97 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputUnusedLocal.java +60 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputUnusedMethod.java +155 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/testinputs/com/puppycrawl/tools/checkstyle/usage/InputUnusedParameter.java +50 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/AllTests.java +23 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/OneMethodPrivateFieldCheckTest.java +46 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/UnusedLocalVariableCheckTest.java +34 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/UnusedParameterCheckTest.java +58 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/UnusedPrivateFieldCheckTest.java +36 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/tests/com/puppycrawl/tools/checkstyle/checks/usage/UnusedPrivateMethodCheckTest.java +78 -0
- data/third_party_tools/checkstyle-5.6/contrib/usage/src/xdocs/config_usage.xml +359 -0
- data/third_party_tools/checkstyle-5.6/google-collections-1.0.jar +0 -0
- data/third_party_tools/checkstyle-5.6/import-control.xml +62 -0
- data/third_party_tools/checkstyle-5.6/java.header +18 -0
- data/third_party_tools/checkstyle-5.6/rules/cc.xml +45 -0
- data/third_party_tools/checkstyle-5.6/rules/method_length.xml +46 -0
- data/third_party_tools/checkstyle-5.6/rules/parameter_number.xml +46 -0
- data/third_party_tools/checkstyle-5.6/site/anttask.html +571 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/allclasses-frame.html +288 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/allclasses-noframe.html +288 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/CheckStyleTask.Formatter.html +324 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/CheckStyleTask.FormatterType.html +296 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/CheckStyleTask.Listener.html +278 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/CheckStyleTask.Property.html +320 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/CheckStyleTask.html +643 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/Checker.html +726 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/ConfigurationLoader.html +330 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/DefaultConfiguration.html +436 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/DefaultContext.html +313 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/DefaultLogger.html +437 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/Defn.html +239 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/Main.html +232 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/ModuleFactory.html +227 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/PackageNamesLoader.html +320 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/PropertiesExpander.html +282 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/PropertyResolver.html +228 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/TreeWalker.html +489 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/XMLLogger.html +430 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractFileSetCheck.html +580 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractLoader.html +421 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AbstractViolationReporter.html +471 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AnnotationUtility.html +388 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AuditEvent.html +454 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AuditListener.html +319 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/AutomaticBean.html +376 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Check.html +661 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/CheckstyleException.html +281 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Comment.html +415 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Configurable.html +228 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Configuration.html +300 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Context.html +240 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Contextualizable.html +230 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/DetailAST.html +602 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FastStack.html +441 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FileContents.html +563 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FileSetCheck.html +337 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FileText.html +502 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Filter.html +220 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FilterSet.html +394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/FullIdent.html +319 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/JavadocTagInfo.Type.html +339 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/JavadocTagInfo.html +834 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/LineColumn.html +304 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/LocalizedMessage.html +535 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/LocalizedMessages.html +311 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/MessageDispatcher.html +255 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Scope.html +460 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/ScopeUtils.html +387 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/SeverityLevel.html +418 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/SeverityLevelCounter.html +397 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/TextBlock.html +320 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html +5356 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/Utils.html +483 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AbstractFileSetCheck.html +380 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AbstractLoader.html +187 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AbstractViolationReporter.html +1568 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AnnotationUtility.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AuditEvent.html +399 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AuditListener.html +236 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/AutomaticBean.html +1641 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Check.html +1394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/CheckstyleException.html +361 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Comment.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Configurable.html +1663 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Configuration.html +300 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Context.html +193 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Contextualizable.html +1663 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/DetailAST.html +2049 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FastStack.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FileContents.html +275 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FileSetCheck.html +422 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FileText.html +207 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Filter.html +285 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FilterSet.html +167 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/FullIdent.html +206 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/JavadocTagInfo.Type.html +174 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/JavadocTagInfo.html +180 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/LineColumn.html +174 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/LocalizedMessage.html +263 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/LocalizedMessages.html +176 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/MessageDispatcher.html +211 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Scope.html +201 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/ScopeUtils.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/SeverityLevel.html +226 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/SeverityLevelCounter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/TextBlock.html +224 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/TokenTypes.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/class-use/Utils.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/package-frame.html +63 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/package-summary.html +394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/package-tree.html +231 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/api/package-use.html +1379 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/AbstractFormatCheck.html +392 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/AbstractOptionCheck.html +340 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/AbstractTypeAwareCheck.ClassInfo.html +284 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/AbstractTypeAwareCheck.Token.html +333 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/AbstractTypeAwareCheck.html +662 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/ArrayTypeStyleCheck.html +352 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/CheckUtils.html +421 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/ClassResolver.html +326 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/DeclarationCollector.html +375 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.html +642 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/FileContentsHolder.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/FinalParametersCheck.html +359 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/LineSeparatorOption.html +394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/NewlineAtEndOfFileCheck.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/OuterTypeFilenameCheck.html +353 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/RegexpCheck.html +473 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/TodoCommentCheck.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/TrailingCommentCheck.html +455 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/TranslationCheck.html +387 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/UncommentedMainCheck.html +421 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/UpperEllCheck.html +351 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/AnnotationUseStyleCheck.ClosingParens.html +356 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/AnnotationUseStyleCheck.ElementStyle.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/AnnotationUseStyleCheck.TrailingArrayComma.html +356 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/AnnotationUseStyleCheck.html +551 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/MissingDeprecatedCheck.html +389 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/MissingOverrideCheck.html +440 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/PackageAnnotationCheck.html +388 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/SuppressWarningsCheck.html +424 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/AnnotationUseStyleCheck.ClosingParens.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/AnnotationUseStyleCheck.ElementStyle.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/AnnotationUseStyleCheck.TrailingArrayComma.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/AnnotationUseStyleCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/MissingDeprecatedCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/MissingOverrideCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/PackageAnnotationCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/class-use/SuppressWarningsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/package-frame.html +30 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/package-summary.html +213 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/package-tree.html +164 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/annotation/package-use.html +167 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/AvoidNestedBlocksCheck.html +406 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/BlockOption.html +346 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/EmptyBlockCheck.html +389 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/LeftCurlyCheck.html +394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/LeftCurlyOption.html +381 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/NeedBracesCheck.html +356 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/RightCurlyCheck.html +392 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/RightCurlyOption.html +350 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/AvoidNestedBlocksCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/BlockOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/EmptyBlockCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/LeftCurlyCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/LeftCurlyOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/NeedBracesCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/RightCurlyCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/class-use/RightCurlyOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/package-frame.html +30 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/package-summary.html +206 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/package-tree.html +164 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/blocks/package-use.html +165 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/AbstractFormatCheck.html +415 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/AbstractOptionCheck.html +275 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/AbstractTypeAwareCheck.ClassInfo.html +168 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/AbstractTypeAwareCheck.Token.html +250 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/AbstractTypeAwareCheck.html +190 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/ArrayTypeStyleCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/CheckUtils.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/ClassResolver.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/DeclarationCollector.html +162 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/DescendantTokenCheck.html +171 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/FileContentsHolder.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/FinalParametersCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/LineSeparatorOption.html +168 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/NewlineAtEndOfFileCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/OuterTypeFilenameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/RegexpCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/TodoCommentCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/TrailingCommentCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/TranslationCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/UncommentedMainCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/class-use/UpperEllCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AbstractIllegalCheck.html +333 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AbstractIllegalMethodCheck.html +342 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AbstractNestedDepthCheck.html +408 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AbstractSuperCheck.html +398 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/ArrayTrailingCommaCheck.html +343 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/AvoidInlineConditionalsCheck.html +361 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/CovariantEqualsCheck.html +364 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/DeclarationOrderCheck.html +427 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/DefaultComesLastCheck.html +372 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/EmptyStatementCheck.html +348 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/EqualsAvoidNullCheck.html +406 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/EqualsHashCodeCheck.html +389 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/ExplicitInitializationCheck.html +370 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/FallThroughCheck.html +443 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/FinalLocalVariableCheck.html +408 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/HiddenFieldCheck.html +544 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalCatchCheck.html +368 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalInstantiationCheck.html +463 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalThrowsCheck.html +385 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalTokenCheck.html +377 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalTokenTextCheck.html +466 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/IllegalTypeCheck.html +458 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/InnerAssignmentCheck.html +340 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/JUnitTestCaseCheck.html +358 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/MagicNumberCheck.html +396 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/MissingCtorCheck.html +379 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/MissingSwitchDefaultCheck.html +366 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/ModifiedControlVariableCheck.html +396 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/MultipleStringLiteralsCheck.html +430 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/MultipleVariableDeclarationsCheck.html +349 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/NestedForDepthCheck.html +382 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/NestedIfDepthCheck.html +367 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/NestedTryDepthCheck.html +367 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/NoCloneCheck.html +392 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/NoFinalizerCheck.html +289 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/OneStatementPerLineCheck.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/PackageDeclarationCheck.html +415 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/ParameterAssignmentCheck.html +405 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/RedundantThrowsCheck.html +429 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/RequireThisCheck.html +453 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/ReturnCountCheck.html +452 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/SimplifyBooleanExpressionCheck.html +389 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/SimplifyBooleanReturnCheck.html +340 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/StringLiteralEqualityCheck.html +338 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/SuperCloneCheck.html +334 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/SuperFinalizeCheck.html +334 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/UnnecessaryParenthesesCheck.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/AbstractIllegalCheck.html +170 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/AbstractIllegalMethodCheck.html +171 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/AbstractNestedDepthCheck.html +174 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/AbstractSuperCheck.html +170 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/ArrayTrailingCommaCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/AvoidInlineConditionalsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/CovariantEqualsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/DeclarationOrderCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/DefaultComesLastCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/EmptyStatementCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/EqualsAvoidNullCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/EqualsHashCodeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/ExplicitInitializationCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/FallThroughCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/FinalLocalVariableCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/HiddenFieldCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalCatchCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalInstantiationCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalThrowsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalTokenCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalTokenTextCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/IllegalTypeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/InnerAssignmentCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/JUnitTestCaseCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MagicNumberCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MissingCtorCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MissingSwitchDefaultCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/ModifiedControlVariableCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MultipleStringLiteralsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/MultipleVariableDeclarationsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/NestedForDepthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/NestedIfDepthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/NestedTryDepthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/NoCloneCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/NoFinalizerCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/OneStatementPerLineCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/PackageDeclarationCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/ParameterAssignmentCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/RedundantThrowsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/RequireThisCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/ReturnCountCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/SimplifyBooleanExpressionCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/SimplifyBooleanReturnCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/StringLiteralEqualityCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/SuperCloneCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/SuperFinalizeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/class-use/UnnecessaryParenthesesCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/package-frame.html +66 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/package-summary.html +480 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/package-tree.html +216 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/coding/package-use.html +173 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/DesignForExtensionCheck.html +357 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/FinalClassCheck.html +361 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/HideUtilityClassConstructorCheck.html +336 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/InnerTypeLastCheck.html +355 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/InterfaceIsTypeCheck.html +382 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/MutableExceptionCheck.html +396 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/ThrowsCountCheck.html +403 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/VisibilityModifierCheck.html +420 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/DesignForExtensionCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/FinalClassCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/HideUtilityClassConstructorCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/InnerTypeLastCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/InterfaceIsTypeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/MutableExceptionCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/ThrowsCountCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/class-use/VisibilityModifierCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/package-frame.html +27 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/package-summary.html +198 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/package-tree.html +153 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/design/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/StrictDuplicateCodeCheck.html +415 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/class-use/StrictDuplicateCodeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/package-frame.html +20 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/package-summary.html +148 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/package-tree.html +142 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/duplicates/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/AbstractHeaderCheck.html +426 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/HeaderCheck.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/RegexpHeaderCheck.html +378 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/class-use/AbstractHeaderCheck.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/class-use/HeaderCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/class-use/RegexpHeaderCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/package-frame.html +22 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/package-summary.html +160 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/package-tree.html +147 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/header/package-use.html +154 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/AvoidStarImportCheck.html +415 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/AvoidStaticImportCheck.html +385 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/IllegalImportCheck.html +381 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/ImportControlCheck.html +402 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/ImportOrderCheck.html +498 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/ImportOrderOption.html +433 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/RedundantImportCheck.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/UnusedImportsCheck.html +422 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/AvoidStarImportCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/AvoidStaticImportCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/IllegalImportCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/ImportControlCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/ImportOrderCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/ImportOrderOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/RedundantImportCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/class-use/UnusedImportsCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/package-frame.html +30 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/package-summary.html +208 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/package-tree.html +164 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/imports/package-use.html +155 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ArrayInitHandler.html +446 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/AssignHandler.html +346 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/BlockParentHandler.html +599 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/CaseHandler.html +336 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/CatchHandler.html +324 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ClassDefHandler.html +408 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/DoWhileHandler.html +303 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ElseHandler.html +324 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ExpressionHandler.html +723 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/FinallyHandler.html +303 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ForHandler.html +327 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/HandlerFactory.html +308 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/IfHandler.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ImportHandler.html +291 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/IndentLevel.html +374 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/IndentationCheck.html +563 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/LabelHandler.html +312 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/LineSet.html +370 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/MemberDefHandler.html +315 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/MethodCallHandler.html +355 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/MethodDefHandler.html +324 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/NewHandler.html +331 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/ObjectBlockHandler.html +408 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/PackageDefHandler.html +291 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/PrimordialHandler.html +330 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/SlistHandler.html +432 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/StaticInitHandler.html +303 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/SwitchHandler.html +387 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/TryHandler.html +306 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/WhileHandler.html +303 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ArrayInitHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/AssignHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/BlockParentHandler.html +252 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/CaseHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/CatchHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ClassDefHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/DoWhileHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ElseHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ExpressionHandler.html +602 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/FinallyHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ForHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/HandlerFactory.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/IfHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ImportHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/IndentLevel.html +321 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/IndentationCheck.html +394 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/LabelHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/LineSet.html +164 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/MemberDefHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/MethodCallHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/MethodDefHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/NewHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/ObjectBlockHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/PackageDefHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/PrimordialHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/SlistHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/StaticInitHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/SwitchHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/TryHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/class-use/WhileHandler.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/package-frame.html +49 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/package-summary.html +322 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/package-tree.html +177 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/indentation/package-use.html +175 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/InvalidJavadocTag.html +295 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocMethodCheck.html +596 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocPackageCheck.html +371 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocStyleCheck.html +437 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocTag.html +449 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocTags.html +281 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocTypeCheck.html +441 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocUtils.JavadocTagType.html +349 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocUtils.html +255 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/JavadocVariableCheck.html +367 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/WriteTagCheck.html +464 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/InvalidJavadocTag.html +173 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocMethodCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocPackageCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocStyleCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocTag.html +173 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocTags.html +162 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocTypeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocUtils.JavadocTagType.html +184 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocUtils.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/JavadocVariableCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/class-use/WriteTagCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/package-frame.html +33 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/package-summary.html +219 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/package-tree.html +171 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/javadoc/package-use.html +170 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/AbstractClassCouplingCheck.html +429 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/AbstractComplexityCheck.html +518 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/BooleanExpressionComplexityCheck.html +411 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/ClassDataAbstractionCouplingCheck.html +342 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/ClassFanOutComplexityCheck.html +343 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/CyclomaticComplexityCheck.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/JavaNCSSCheck.html +475 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/NPathComplexityCheck.html +390 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/AbstractClassCouplingCheck.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/AbstractComplexityCheck.html +168 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/BooleanExpressionComplexityCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/ClassDataAbstractionCouplingCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/ClassFanOutComplexityCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/CyclomaticComplexityCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/JavaNCSSCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/class-use/NPathComplexityCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/package-frame.html +27 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/package-summary.html +193 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/package-tree.html +155 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/metrics/package-use.html +160 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/ModifierOrderCheck.html +364 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/RedundantModifierCheck.html +353 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/class-use/ModifierOrderCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/class-use/RedundantModifierCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/package-frame.html +21 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/package-summary.html +156 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/package-tree.html +143 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/AbstractAccessControlNameCheck.html +504 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/AbstractClassNameCheck.html +411 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/AbstractNameCheck.html +352 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/AbstractTypeParameterNameCheck.html +416 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/ClassTypeParameterNameCheck.html +373 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/ConstantNameCheck.html +400 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/LocalFinalVariableNameCheck.html +385 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/LocalVariableNameCheck.html +386 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/MemberNameCheck.html +398 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/MethodNameCheck.html +421 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/MethodTypeParameterNameCheck.html +373 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/PackageNameCheck.html +379 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/ParameterNameCheck.html +383 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/StaticVariableNameCheck.html +396 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/TypeNameCheck.html +368 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/AbstractAccessControlNameCheck.html +196 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/AbstractClassNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/AbstractNameCheck.html +251 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/AbstractTypeParameterNameCheck.html +172 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/ClassTypeParameterNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/ConstantNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/LocalFinalVariableNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/LocalVariableNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/MemberNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/MethodNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/MethodTypeParameterNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/PackageNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/ParameterNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/StaticVariableNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/class-use/TypeNameCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/package-frame.html +34 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/package-summary.html +259 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/package-tree.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/naming/package-use.html +168 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/package-frame.html +43 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/package-summary.html +289 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/package-tree.html +180 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/package-use.html +397 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/NeverSuppress.html +278 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpMultilineCheck.html +434 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpSinglelineCheck.html +433 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/RegexpSinglelineJavaCheck.html +457 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/class-use/NeverSuppress.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/class-use/RegexpMultilineCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/class-use/RegexpSinglelineCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/class-use/RegexpSinglelineJavaCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/package-frame.html +23 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/package-summary.html +168 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/package-tree.html +149 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/regexp/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/AnonInnerLengthCheck.html +373 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/ExecutableStatementCountCheck.html +433 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/FileLengthCheck.html +365 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/LineLengthCheck.html +412 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/MethodCountCheck.html +438 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/MethodLengthCheck.html +386 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/OuterTypeNumberCheck.html +413 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/ParameterNumberCheck.html +368 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/AnonInnerLengthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/ExecutableStatementCountCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/FileLengthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/LineLengthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/MethodCountCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/MethodLengthCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/OuterTypeNumberCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/class-use/ParameterNumberCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/package-frame.html +27 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/package-summary.html +196 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/package-tree.html +153 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/sizes/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/EmptyForInitializerPadCheck.html +365 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/EmptyForIteratorPadCheck.html +366 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/FileTabCharacterCheck.html +342 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/GenericWhitespaceCheck.html +354 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/MethodParamPadCheck.html +399 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/NoWhitespaceAfterCheck.html +407 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/NoWhitespaceBeforeCheck.html +404 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/OperatorWrapCheck.html +429 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/OperatorWrapOption.html +334 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/PadOption.html +340 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/ParenPadCheck.html +414 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/TypecastParenPadCheck.html +422 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/WhitespaceAfterCheck.html +357 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/WhitespaceAroundCheck.html +485 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/EmptyForInitializerPadCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/EmptyForIteratorPadCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/FileTabCharacterCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/GenericWhitespaceCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/MethodParamPadCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/NoWhitespaceAfterCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/NoWhitespaceBeforeCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/OperatorWrapCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/OperatorWrapOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/PadOption.html +169 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/ParenPadCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/TypecastParenPadCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/WhitespaceAfterCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/class-use/WhitespaceAroundCheck.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/package-frame.html +36 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/package-summary.html +254 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/package-tree.html +174 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/checks/whitespace/package-use.html +160 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/CheckStyleTask.Formatter.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/CheckStyleTask.FormatterType.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/CheckStyleTask.Listener.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/CheckStyleTask.Property.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/CheckStyleTask.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/Checker.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/ConfigurationLoader.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/DefaultConfiguration.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/DefaultContext.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/DefaultLogger.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/Defn.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/Main.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/ModuleFactory.html +167 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/PackageNamesLoader.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/PropertiesExpander.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/PropertyResolver.html +207 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/TreeWalker.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/class-use/XMLLogger.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/CheckDocsDoclet.html +273 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/TokenTypesDoclet.html +275 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/class-use/CheckDocsDoclet.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/class-use/TokenTypesDoclet.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/package-frame.html +21 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/package-summary.html +157 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/package-tree.html +131 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/doclets/package-use.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SeverityMatchFilter.html +324 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressElement.html +413 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressWithNearbyCommentFilter.Tag.html +369 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressWithNearbyCommentFilter.html +488 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressionCommentFilter.Tag.html +400 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressionCommentFilter.html +476 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressionFilter.html +360 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoader.html +307 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SeverityMatchFilter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressElement.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressWithNearbyCommentFilter.Tag.html +162 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressWithNearbyCommentFilter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressionCommentFilter.Tag.html +162 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressionCommentFilter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressionFilter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/class-use/SuppressionsLoader.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/package-frame.html +25 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/package-summary.html +182 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/package-tree.html +149 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/filters/package-use.html +160 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/CommentListener.html +256 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/GeneratedJavaLexer.html +2058 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/GeneratedJavaRecognizer.html +3034 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/GeneratedJavaTokenTypes.html +2845 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/class-use/CommentListener.html +185 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/class-use/GeneratedJavaLexer.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/class-use/GeneratedJavaRecognizer.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/class-use/GeneratedJavaTokenTypes.html +167 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/package-frame.html +26 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/package-summary.html +175 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/package-tree.html +148 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/grammars/package-use.html +182 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/AbstractCellEditor.html +406 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/AbstractTreeTableModel.html +526 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/CodeSelector.html +262 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/JTreeTable.TreeTableCellEditor.html +338 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/JTreeTable.html +520 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/Main.html +259 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/ParseTreeInfoPanel.html +448 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/ParseTreeModel.html +388 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/TreeTableModel.html +328 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/TreeTableModelAdapter.html +441 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/AbstractCellEditor.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/AbstractTreeTableModel.html +161 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/CodeSelector.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/JTreeTable.TreeTableCellEditor.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/JTreeTable.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/Main.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/ParseTreeInfoPanel.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/ParseTreeModel.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/TreeTableModel.html +183 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/class-use/TreeTableModelAdapter.html +117 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/package-frame.html +31 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/package-summary.html +236 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/package-tree.html +176 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/gui/package-use.html +167 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/package-frame.html +40 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/package-summary.html +266 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/package-tree.html +182 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/com/puppycrawl/tools/checkstyle/package-use.html +174 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/constant-values.html +2631 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/deprecated-list.html +181 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/help-doc.html +222 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/index-all.html +7857 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/index.html +34 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/options +26 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/overview-frame.html +42 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/overview-summary.html +270 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/overview-tree.html +608 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/package-list +22 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/packages +22 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/resources/background.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/resources/tab.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/resources/titlebar.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/resources/titlebar_end.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/serialized-form.html +421 -0
- data/third_party_tools/checkstyle-5.6/site/apidocs/stylesheet.css +474 -0
- data/third_party_tools/checkstyle-5.6/site/availablechecks.html +876 -0
- data/third_party_tools/checkstyle-5.6/site/checks.html +208 -0
- data/third_party_tools/checkstyle-5.6/site/cmdline.html +364 -0
- data/third_party_tools/checkstyle-5.6/site/config.html +1465 -0
- data/third_party_tools/checkstyle-5.6/site/config_annotation.html +503 -0
- data/third_party_tools/checkstyle-5.6/site/config_blocks.html +579 -0
- data/third_party_tools/checkstyle-5.6/site/config_coding.html +2724 -0
- data/third_party_tools/checkstyle-5.6/site/config_design.html +647 -0
- data/third_party_tools/checkstyle-5.6/site/config_duplicates.html +330 -0
- data/third_party_tools/checkstyle-5.6/site/config_header.html +488 -0
- data/third_party_tools/checkstyle-5.6/site/config_imports.html +741 -0
- data/third_party_tools/checkstyle-5.6/site/config_javadoc.html +982 -0
- data/third_party_tools/checkstyle-5.6/site/config_metrics.html +646 -0
- data/third_party_tools/checkstyle-5.6/site/config_misc.html +1607 -0
- data/third_party_tools/checkstyle-5.6/site/config_modifier.html +352 -0
- data/third_party_tools/checkstyle-5.6/site/config_naming.html +486 -0
- data/third_party_tools/checkstyle-5.6/site/config_regexp.html +494 -0
- data/third_party_tools/checkstyle-5.6/site/config_reporting.html +243 -0
- data/third_party_tools/checkstyle-5.6/site/config_sizes.html +783 -0
- data/third_party_tools/checkstyle-5.6/site/config_whitespace.html +1194 -0
- data/third_party_tools/checkstyle-5.6/site/contributing.html +297 -0
- data/third_party_tools/checkstyle-5.6/site/css/maven-base.css +151 -0
- data/third_party_tools/checkstyle-5.6/site/css/maven-theme.css +161 -0
- data/third_party_tools/checkstyle-5.6/site/css/print.css +7 -0
- data/third_party_tools/checkstyle-5.6/site/css/site.css +25 -0
- data/third_party_tools/checkstyle-5.6/site/dependencies.html +254 -0
- data/third_party_tools/checkstyle-5.6/site/distribution-management.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/extending.html +203 -0
- data/third_party_tools/checkstyle-5.6/site/images/AuditListener.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/Filter.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/close.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/collapsed.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/expanded.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/external.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/gui_screenshot.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/icon_error_sml.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/icon_info_sml.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/icon_success_sml.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/icon_warning_sml.gif +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/logo.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/logos/build-by-maven-black.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/logos/build-by-maven-white.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/logos/maven-feather.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/images/newwindow.png +0 -0
- data/third_party_tools/checkstyle-5.6/site/index.html +474 -0
- data/third_party_tools/checkstyle-5.6/site/integration.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/issue-tracking.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/license.html +731 -0
- data/third_party_tools/checkstyle-5.6/site/mail-lists.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/plugin-management.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/plugins.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/project-info.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/project-reports.html +196 -0
- data/third_party_tools/checkstyle-5.6/site/project-summary.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/property_types.html +717 -0
- data/third_party_tools/checkstyle-5.6/site/releasenotes.html +2565 -0
- data/third_party_tools/checkstyle-5.6/site/running.html +213 -0
- data/third_party_tools/checkstyle-5.6/site/source-repository.html +229 -0
- data/third_party_tools/checkstyle-5.6/site/team-list.html +244 -0
- data/third_party_tools/checkstyle-5.6/site/writingchecks.html +728 -0
- data/third_party_tools/checkstyle-5.6/site/writingfilters.html +312 -0
- data/third_party_tools/checkstyle-5.6/site/writinglisteners.html +535 -0
- data/third_party_tools/checkstyle-5.6/sun_checks.xml +178 -0
- data/third_party_tools/checkstyle-5.6/suppressions.xml +50 -0
- metadata +1149 -0
|
@@ -0,0 +1,2724 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
2
|
+
<!-- Generated by Apache Maven Doxia at Sep 18, 2012 -->
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
6
|
+
<title>checkstyle -
|
|
7
|
+
Coding</title>
|
|
8
|
+
<style type="text/css" media="all">
|
|
9
|
+
@import url("./css/maven-base.css");
|
|
10
|
+
@import url("./css/maven-theme.css");
|
|
11
|
+
@import url("./css/site.css");
|
|
12
|
+
</style>
|
|
13
|
+
<link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
|
|
14
|
+
<meta name="author" content="Checkstyle Development Team" />
|
|
15
|
+
<meta name="Date-Revision-yyyymmdd" content="20120918" />
|
|
16
|
+
<meta http-equiv="Content-Language" content="en" />
|
|
17
|
+
|
|
18
|
+
</head>
|
|
19
|
+
<body class="composite">
|
|
20
|
+
<div id="banner">
|
|
21
|
+
<div id="bannerLeft">
|
|
22
|
+
Checkstyle 5.6
|
|
23
|
+
</div>
|
|
24
|
+
<a href="" id="bannerRight" title="Checkstyle">
|
|
25
|
+
<img src="images/logo.png" alt="Checkstyle" />
|
|
26
|
+
</a>
|
|
27
|
+
<div class="clear">
|
|
28
|
+
<hr/>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div id="breadcrumbs">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<div class="xleft">
|
|
35
|
+
<span id="publishDate">Last Published: 2012-09-18</span>
|
|
36
|
+
| <span id="projectVersion">Version: 5.6</span>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="xright">
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="clear">
|
|
42
|
+
<hr/>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div id="leftColumn">
|
|
46
|
+
<div id="navcolumn">
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<h5>About</h5>
|
|
50
|
+
<ul>
|
|
51
|
+
<li class="none">
|
|
52
|
+
<a href="index.html" title="Checkstyle">Checkstyle</a>
|
|
53
|
+
</li>
|
|
54
|
+
<li class="none">
|
|
55
|
+
<a href="releasenotes.html" title="Release Notes">Release Notes</a>
|
|
56
|
+
</li>
|
|
57
|
+
</ul>
|
|
58
|
+
<h5>Documentation</h5>
|
|
59
|
+
<ul>
|
|
60
|
+
<li class="expanded">
|
|
61
|
+
<a href="config.html" title="Configuration">Configuration</a>
|
|
62
|
+
<ul>
|
|
63
|
+
<li class="none">
|
|
64
|
+
<a href="property_types.html" title="Property Types">Property Types</a>
|
|
65
|
+
</li>
|
|
66
|
+
</ul>
|
|
67
|
+
</li>
|
|
68
|
+
<li class="expanded">
|
|
69
|
+
<a href="running.html" title="Running">Running</a>
|
|
70
|
+
<ul>
|
|
71
|
+
<li class="none">
|
|
72
|
+
<a href="anttask.html" title="Ant Task">Ant Task</a>
|
|
73
|
+
</li>
|
|
74
|
+
<li class="none">
|
|
75
|
+
<a href="cmdline.html" title="Command Line">Command Line</a>
|
|
76
|
+
</li>
|
|
77
|
+
</ul>
|
|
78
|
+
</li>
|
|
79
|
+
<li class="none">
|
|
80
|
+
<a href="availablechecks.html" title="Available Checks">Available Checks</a>
|
|
81
|
+
</li>
|
|
82
|
+
<li class="expanded">
|
|
83
|
+
<a href="checks.html" title="Standard Checks">Standard Checks</a>
|
|
84
|
+
<ul>
|
|
85
|
+
<li class="none">
|
|
86
|
+
<a href="config_annotation.html" title="Annotations">Annotations</a>
|
|
87
|
+
</li>
|
|
88
|
+
<li class="none">
|
|
89
|
+
<a href="config_blocks.html" title="Block Checks">Block Checks</a>
|
|
90
|
+
</li>
|
|
91
|
+
<li class="none">
|
|
92
|
+
<a href="config_design.html" title="Class Design">Class Design</a>
|
|
93
|
+
</li>
|
|
94
|
+
<li class="none">
|
|
95
|
+
<strong>Coding</strong>
|
|
96
|
+
</li>
|
|
97
|
+
<li class="none">
|
|
98
|
+
<a href="config_duplicates.html" title="Duplicate Code">Duplicate Code</a>
|
|
99
|
+
</li>
|
|
100
|
+
<li class="none">
|
|
101
|
+
<a href="config_header.html" title="Headers">Headers</a>
|
|
102
|
+
</li>
|
|
103
|
+
<li class="none">
|
|
104
|
+
<a href="config_imports.html" title="Imports">Imports</a>
|
|
105
|
+
</li>
|
|
106
|
+
<li class="none">
|
|
107
|
+
<a href="config_javadoc.html" title="Javadoc Comments">Javadoc Comments</a>
|
|
108
|
+
</li>
|
|
109
|
+
<li class="none">
|
|
110
|
+
<a href="config_metrics.html" title="Metrics">Metrics</a>
|
|
111
|
+
</li>
|
|
112
|
+
<li class="none">
|
|
113
|
+
<a href="config_misc.html" title="Miscellaneous">Miscellaneous</a>
|
|
114
|
+
</li>
|
|
115
|
+
<li class="none">
|
|
116
|
+
<a href="config_modifier.html" title="Modifiers">Modifiers</a>
|
|
117
|
+
</li>
|
|
118
|
+
<li class="none">
|
|
119
|
+
<a href="config_naming.html" title="Naming Conventions">Naming Conventions</a>
|
|
120
|
+
</li>
|
|
121
|
+
<li class="none">
|
|
122
|
+
<a href="config_regexp.html" title="Regexp">Regexp</a>
|
|
123
|
+
</li>
|
|
124
|
+
<li class="none">
|
|
125
|
+
<a href="config_sizes.html" title="Size Violations">Size Violations</a>
|
|
126
|
+
</li>
|
|
127
|
+
<li class="none">
|
|
128
|
+
<a href="config_whitespace.html" title="Whitespace">Whitespace</a>
|
|
129
|
+
</li>
|
|
130
|
+
</ul>
|
|
131
|
+
</li>
|
|
132
|
+
<li class="expanded">
|
|
133
|
+
<a href="extending.html" title="Extending Checkstyle">Extending Checkstyle</a>
|
|
134
|
+
<ul>
|
|
135
|
+
<li class="none">
|
|
136
|
+
<a href="writingchecks.html" title="Writing checks">Writing checks</a>
|
|
137
|
+
</li>
|
|
138
|
+
<li class="none">
|
|
139
|
+
<a href="writingfilters.html" title="Writing filters">Writing filters</a>
|
|
140
|
+
</li>
|
|
141
|
+
<li class="none">
|
|
142
|
+
<a href="writinglisteners.html" title="Writing listeners">Writing listeners</a>
|
|
143
|
+
</li>
|
|
144
|
+
</ul>
|
|
145
|
+
</li>
|
|
146
|
+
</ul>
|
|
147
|
+
<h5>Developers</h5>
|
|
148
|
+
<ul>
|
|
149
|
+
<li class="none">
|
|
150
|
+
<a href="apidocs/index.html" title="Javadoc">Javadoc</a>
|
|
151
|
+
</li>
|
|
152
|
+
<li class="none">
|
|
153
|
+
<a href="http://sourceforge.net/projects/checkstyle" class="externalLink" title="Project Page">Project Page</a>
|
|
154
|
+
</li>
|
|
155
|
+
<li class="none">
|
|
156
|
+
<a href="contributing.html" title="Contributing">Contributing</a>
|
|
157
|
+
</li>
|
|
158
|
+
</ul>
|
|
159
|
+
<h5>Project Documentation</h5>
|
|
160
|
+
<ul>
|
|
161
|
+
<li class="collapsed">
|
|
162
|
+
<a href="project-info.html" title="Project Information">Project Information</a>
|
|
163
|
+
</li>
|
|
164
|
+
<li class="collapsed">
|
|
165
|
+
<a href="project-reports.html" title="Project Reports">Project Reports</a>
|
|
166
|
+
</li>
|
|
167
|
+
</ul>
|
|
168
|
+
<a href="http://sourceforge.net/projects/checkstyle" title="SourceForge" class="poweredBy">
|
|
169
|
+
<img class="poweredBy" alt="SourceForge" src="http://sflogo.sourceforge.net/sflogo.php?group_id=29721&type=11" />
|
|
170
|
+
</a>
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
<div id="bodyColumn">
|
|
176
|
+
<div id="contentBox">
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
<div class="section"><h2>ArrayTrailingComma<a name="ArrayTrailingComma"></a></h2>
|
|
181
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
182
|
+
<p>
|
|
183
|
+
Checks that array initialization contains a trailing comma.
|
|
184
|
+
</p>
|
|
185
|
+
<div class="source"><pre>
|
|
186
|
+
int[] a = new int[]
|
|
187
|
+
{
|
|
188
|
+
1,
|
|
189
|
+
2,
|
|
190
|
+
3,
|
|
191
|
+
};
|
|
192
|
+
</pre></div>
|
|
193
|
+
|
|
194
|
+
<p>
|
|
195
|
+
The check allows to not add a comma if both left and right curlys
|
|
196
|
+
are on the same line.
|
|
197
|
+
</p>
|
|
198
|
+
<div class="source"><pre>
|
|
199
|
+
return new int[] { 0 };
|
|
200
|
+
</pre></div>
|
|
201
|
+
|
|
202
|
+
<p>
|
|
203
|
+
Rationale: Putting this comma in makes it easier to change the order
|
|
204
|
+
of the elements or add new elements on the end.
|
|
205
|
+
</p>
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
209
|
+
<p>
|
|
210
|
+
To configure the check:
|
|
211
|
+
</p>
|
|
212
|
+
<div class="source"><pre>
|
|
213
|
+
<module name="ArrayTrailingComma"/>
|
|
214
|
+
</pre></div>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
218
|
+
<p>
|
|
219
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
220
|
+
</p>
|
|
221
|
+
</div>
|
|
222
|
+
|
|
223
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
224
|
+
<p>
|
|
225
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
226
|
+
</p>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
<div class="section"><h2>AvoidInlineConditionals<a name="AvoidInlineConditionals"></a></h2>
|
|
231
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
232
|
+
<p>
|
|
233
|
+
Detects inline conditionals. An example inline conditional is this:
|
|
234
|
+
</p>
|
|
235
|
+
<div class="source"><pre>
|
|
236
|
+
String a = getParameter("a");
|
|
237
|
+
String b = (a==null || a.length<1) ? null : a.substring(1);
|
|
238
|
+
</pre></div>
|
|
239
|
+
|
|
240
|
+
<p>
|
|
241
|
+
Rationale: Some developers find inline conditionals hard to read, so
|
|
242
|
+
their company's coding standards forbids them.
|
|
243
|
+
</p>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
247
|
+
<p>
|
|
248
|
+
To configure the check:
|
|
249
|
+
</p>
|
|
250
|
+
<div class="source"><pre>
|
|
251
|
+
<module name="AvoidInlineConditionals"/>
|
|
252
|
+
</pre></div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
256
|
+
<p>
|
|
257
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
258
|
+
</p>
|
|
259
|
+
</div>
|
|
260
|
+
|
|
261
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
262
|
+
<p>
|
|
263
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
264
|
+
</p>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<div class="section"><h2>CovariantEquals<a name="CovariantEquals"></a></h2>
|
|
269
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
270
|
+
<p>
|
|
271
|
+
Checks that classes that define a covariant <tt>equals()</tt> method also override method <tt>equals(java.lang.Object)</tt>. Inspired by <a class="externalLink" href="http://www.cs.umd.edu/~pugh/java/bugs/docs/findbugsPaper.pdf">findbugs</a>.
|
|
272
|
+
</p>
|
|
273
|
+
|
|
274
|
+
<p>
|
|
275
|
+
Rationale: Mistakenly defining a covariant <tt>equals()</tt> method without overriding method <tt>equals(java.lang.Object)</tt> can produce unexpected
|
|
276
|
+
runtime behaviour.
|
|
277
|
+
</p>
|
|
278
|
+
</div>
|
|
279
|
+
|
|
280
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
281
|
+
<p>
|
|
282
|
+
To configure the check:
|
|
283
|
+
</p>
|
|
284
|
+
<div class="source"><pre>
|
|
285
|
+
<module name="CovariantEquals"/>
|
|
286
|
+
</pre></div>
|
|
287
|
+
</div>
|
|
288
|
+
|
|
289
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
290
|
+
<p>
|
|
291
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
292
|
+
</p>
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
296
|
+
<p>
|
|
297
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
298
|
+
</p>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<div class="section"><h2>EmptyStatement<a name="EmptyStatement"></a></h2>
|
|
303
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
304
|
+
<p>
|
|
305
|
+
Detects empty statements (standalone ;).
|
|
306
|
+
</p>
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
310
|
+
<p>
|
|
311
|
+
To configure the check:
|
|
312
|
+
</p>
|
|
313
|
+
<div class="source"><pre>
|
|
314
|
+
<module name="EmptyStatement"/>
|
|
315
|
+
</pre></div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
319
|
+
<p>
|
|
320
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
321
|
+
</p>
|
|
322
|
+
</div>
|
|
323
|
+
|
|
324
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
325
|
+
<p>
|
|
326
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
327
|
+
</p>
|
|
328
|
+
</div>
|
|
329
|
+
</div>
|
|
330
|
+
|
|
331
|
+
<div class="section"><h2>EqualsAvoidNull<a name="EqualsAvoidNull"></a></h2>
|
|
332
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
333
|
+
<p>
|
|
334
|
+
Checks that any combination of String literals with optional
|
|
335
|
+
assignment is on the left side of an <tt>equals()</tt> comparison.
|
|
336
|
+
The check also processes <tt>String.equalsIgnoreCase()</tt>
|
|
337
|
+
invocations (which can be suppressed).
|
|
338
|
+
</p>
|
|
339
|
+
|
|
340
|
+
<p>
|
|
341
|
+
Rationale: Calling the <tt>equals()</tt>
|
|
342
|
+
method on String literals will avoid a potential
|
|
343
|
+
NullPointerException. Also, it is pretty common to see null
|
|
344
|
+
check right before equals comparisons which is not necessary
|
|
345
|
+
in the below example.
|
|
346
|
+
</p>
|
|
347
|
+
|
|
348
|
+
<p>
|
|
349
|
+
For example:
|
|
350
|
+
</p>
|
|
351
|
+
<div class="source"><pre>
|
|
352
|
+
String nullString = null;
|
|
353
|
+
nullString.equals("My_Sweet_String");
|
|
354
|
+
</pre></div>
|
|
355
|
+
|
|
356
|
+
<p>should be refactored to:</p>
|
|
357
|
+
|
|
358
|
+
<div class="source"><pre>
|
|
359
|
+
String nullString = null;
|
|
360
|
+
"My_Sweet_String".equals(nullString);
|
|
361
|
+
</pre></div>
|
|
362
|
+
|
|
363
|
+
<p>
|
|
364
|
+
Limitations: If the equals method is overridden or a covariant
|
|
365
|
+
equals method is defined and the implementation is incorrect
|
|
366
|
+
(where <tt>s.equals(t)</tt> does not return
|
|
367
|
+
the same result as <tt>t.equals(s)</tt>) then
|
|
368
|
+
rearranging the called on object and parameter may have
|
|
369
|
+
unexpected results
|
|
370
|
+
</p>
|
|
371
|
+
|
|
372
|
+
<p>
|
|
373
|
+
Java's Autoboxing feature has an affect on how this check is
|
|
374
|
+
implemented. Pre Java 5 all IDENT + IDENT object
|
|
375
|
+
concatenations would not cause a NullPointerException even if
|
|
376
|
+
null. Those situations could have been included in this
|
|
377
|
+
check. They would simply act as if they surrounded by <tt>String.valueof()</tt> which would concatenate
|
|
378
|
+
the String null.
|
|
379
|
+
</p>
|
|
380
|
+
<p>
|
|
381
|
+
The following example will cause a NullPointerException as a
|
|
382
|
+
result of what autoboxing does.
|
|
383
|
+
</p>
|
|
384
|
+
|
|
385
|
+
<div class="source"><pre>
|
|
386
|
+
Integer i = null, j = null;
|
|
387
|
+
String number = "5"
|
|
388
|
+
number.equals(i + j);
|
|
389
|
+
</pre></div>
|
|
390
|
+
|
|
391
|
+
<p>
|
|
392
|
+
Since, it is difficult to determine what kind of Object is
|
|
393
|
+
being concatenated all ident concatenation is considered
|
|
394
|
+
unsafe.
|
|
395
|
+
</p>
|
|
396
|
+
</div>
|
|
397
|
+
|
|
398
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
399
|
+
<table border="0" class="bodyTable">
|
|
400
|
+
<tr class="a">
|
|
401
|
+
<th>name</th>
|
|
402
|
+
<th>description</th>
|
|
403
|
+
<th>type</th>
|
|
404
|
+
<th>default value</th>
|
|
405
|
+
</tr>
|
|
406
|
+
<tr class="b">
|
|
407
|
+
<td>ignoreEqualsIgnoreCase</td>
|
|
408
|
+
<td>whether to ignore <tt>String.equalsIgnoreCase()</tt> invocations</td>
|
|
409
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
410
|
+
<td>false</td>
|
|
411
|
+
</tr>
|
|
412
|
+
</table>
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
416
|
+
<p>
|
|
417
|
+
To configure the check:
|
|
418
|
+
</p>
|
|
419
|
+
<div class="source"><pre>
|
|
420
|
+
<module name="EqualsAvoidNull"/>
|
|
421
|
+
</pre></div>
|
|
422
|
+
</div>
|
|
423
|
+
|
|
424
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
425
|
+
<p>
|
|
426
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
427
|
+
</p>
|
|
428
|
+
</div>
|
|
429
|
+
|
|
430
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
431
|
+
<p>
|
|
432
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
433
|
+
</p>
|
|
434
|
+
</div>
|
|
435
|
+
</div>
|
|
436
|
+
|
|
437
|
+
<div class="section"><h2>EqualsHashCode<a name="EqualsHashCode"></a></h2>
|
|
438
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
439
|
+
<p>
|
|
440
|
+
Checks that classes that override <tt>equals()</tt>
|
|
441
|
+
also override <tt>hashCode()</tt>.
|
|
442
|
+
</p>
|
|
443
|
+
|
|
444
|
+
<p>
|
|
445
|
+
Rationale: The contract of <tt>equals()</tt> and
|
|
446
|
+
<tt>hashCode()</tt> requires that equal objects
|
|
447
|
+
have the same hashCode. Hence, whenever you override <tt>equals()</tt> you must override <tt>
|
|
448
|
+
hashCode()</tt> to ensure that your class can be used in
|
|
449
|
+
collections that are hash based.
|
|
450
|
+
</p>
|
|
451
|
+
</div>
|
|
452
|
+
|
|
453
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
454
|
+
<p>
|
|
455
|
+
To configure the check:
|
|
456
|
+
</p>
|
|
457
|
+
<div class="source"><pre>
|
|
458
|
+
<module name="EqualsHashCode"/>
|
|
459
|
+
</pre></div>
|
|
460
|
+
</div>
|
|
461
|
+
|
|
462
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
463
|
+
<p>
|
|
464
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
465
|
+
</p>
|
|
466
|
+
</div>
|
|
467
|
+
|
|
468
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
469
|
+
<p>
|
|
470
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
471
|
+
</p>
|
|
472
|
+
</div>
|
|
473
|
+
</div>
|
|
474
|
+
|
|
475
|
+
<div class="section"><h2>FinalLocalVariable<a name="FinalLocalVariable"></a></h2>
|
|
476
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
477
|
+
<p>
|
|
478
|
+
Checks that local variables that never have their values changed are
|
|
479
|
+
declared final. The check can be configured to also check that
|
|
480
|
+
unchanged parameters are declared final.
|
|
481
|
+
</p>
|
|
482
|
+
</div>
|
|
483
|
+
|
|
484
|
+
<div class="section"><h3>Notes<a name="Notes"></a></h3>
|
|
485
|
+
<p>
|
|
486
|
+
When configured to check parameters, the check ignores parameters of
|
|
487
|
+
interface methods and abstract methods.
|
|
488
|
+
</p>
|
|
489
|
+
</div>
|
|
490
|
+
|
|
491
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
492
|
+
<table border="0" class="bodyTable">
|
|
493
|
+
<tr class="header">
|
|
494
|
+
<th>name</th>
|
|
495
|
+
<th>description</th>
|
|
496
|
+
<th>type</th>
|
|
497
|
+
<th>default value</th>
|
|
498
|
+
</tr>
|
|
499
|
+
<tr class="b">
|
|
500
|
+
<td>tokens</td>
|
|
501
|
+
<td>tokens to check</td>
|
|
502
|
+
<td>
|
|
503
|
+
subset of tokens <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETER_DEF">PARAMETER_DEF</a>,
|
|
504
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
505
|
+
</td>
|
|
506
|
+
<td>
|
|
507
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
508
|
+
</td>
|
|
509
|
+
</tr>
|
|
510
|
+
</table>
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
514
|
+
<p>
|
|
515
|
+
To configure the check:
|
|
516
|
+
</p>
|
|
517
|
+
<div class="source"><pre>
|
|
518
|
+
<module name="FinalLocalVariable"/>
|
|
519
|
+
</pre></div>
|
|
520
|
+
|
|
521
|
+
<p>
|
|
522
|
+
To configure the check so that it checks local variables and
|
|
523
|
+
parameters:
|
|
524
|
+
</p>
|
|
525
|
+
<div class="source"><pre>
|
|
526
|
+
<module name="FinalLocalVariable">
|
|
527
|
+
<property name="tokens" value="VARIABLE_DEF,PARAMETER_DEF"/>
|
|
528
|
+
</module>
|
|
529
|
+
</pre></div>
|
|
530
|
+
</div>
|
|
531
|
+
|
|
532
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
533
|
+
<p>
|
|
534
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
535
|
+
</p>
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
539
|
+
<p>
|
|
540
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
541
|
+
</p>
|
|
542
|
+
</div>
|
|
543
|
+
</div>
|
|
544
|
+
|
|
545
|
+
<div class="section"><h2>HiddenField<a name="HiddenField"></a></h2>
|
|
546
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
547
|
+
<p>
|
|
548
|
+
Checks that a local variable or a parameter does not shadow a field
|
|
549
|
+
that is defined in the same class.
|
|
550
|
+
</p>
|
|
551
|
+
</div>
|
|
552
|
+
|
|
553
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
554
|
+
<table border="0" class="bodyTable">
|
|
555
|
+
<tr class="a">
|
|
556
|
+
<th>name</th>
|
|
557
|
+
<th>description</th>
|
|
558
|
+
<th>type</th>
|
|
559
|
+
<th>default value</th>
|
|
560
|
+
</tr>
|
|
561
|
+
<tr class="b">
|
|
562
|
+
<td>tokens</td>
|
|
563
|
+
<td>tokens to check</td>
|
|
564
|
+
<td>
|
|
565
|
+
subset of tokens <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETER_DEF">PARAMETER_DEF</a>,
|
|
566
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
567
|
+
</td>
|
|
568
|
+
|
|
569
|
+
<td>
|
|
570
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETER_DEF">PARAMETER_DEF</a>,
|
|
571
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
572
|
+
</td>
|
|
573
|
+
</tr>
|
|
574
|
+
|
|
575
|
+
<tr class="a">
|
|
576
|
+
<td>ignoreFormat</td>
|
|
577
|
+
<td>pattern for names to ignore</td>
|
|
578
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
579
|
+
<td>(not applied)</td>
|
|
580
|
+
</tr>
|
|
581
|
+
|
|
582
|
+
<tr class="b">
|
|
583
|
+
<td>ignoreConstructorParameter</td>
|
|
584
|
+
<td>Controls whether to ignore constructor parameters.</td>
|
|
585
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
586
|
+
<td><tt>false</tt></td>
|
|
587
|
+
</tr>
|
|
588
|
+
|
|
589
|
+
<tr class="a">
|
|
590
|
+
<td>ignoreSetter</td>
|
|
591
|
+
<td>
|
|
592
|
+
Controls whether to ignore the parameter of a property setter
|
|
593
|
+
method, where the property setter method for field
|
|
594
|
+
"xyz" has name "setXyz", one parameter named
|
|
595
|
+
"xyz", and return type <tt>void</tt>.
|
|
596
|
+
</td>
|
|
597
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
598
|
+
<td><tt>false</tt></td>
|
|
599
|
+
</tr>
|
|
600
|
+
|
|
601
|
+
<tr class="b">
|
|
602
|
+
<td>ignoreAbstractMethods</td>
|
|
603
|
+
<td>Controls whether to ignore parameters of abstract methods.</td>
|
|
604
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
605
|
+
<td><tt>false</tt></td>
|
|
606
|
+
</tr>
|
|
607
|
+
|
|
608
|
+
</table>
|
|
609
|
+
</div>
|
|
610
|
+
|
|
611
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
612
|
+
<p>
|
|
613
|
+
To configure the check:
|
|
614
|
+
</p>
|
|
615
|
+
<div class="source"><pre>
|
|
616
|
+
<module name="HiddenField"/>
|
|
617
|
+
</pre></div>
|
|
618
|
+
|
|
619
|
+
<p>
|
|
620
|
+
To configure the check so that it checks local variables but not
|
|
621
|
+
parameters:
|
|
622
|
+
</p>
|
|
623
|
+
<div class="source"><pre>
|
|
624
|
+
<module name="HiddenField">
|
|
625
|
+
<property name="tokens" value="VARIABLE_DEF"/>
|
|
626
|
+
</module>
|
|
627
|
+
</pre></div>
|
|
628
|
+
|
|
629
|
+
<p>
|
|
630
|
+
To configure the check so that it ignores the name
|
|
631
|
+
"rcsid":
|
|
632
|
+
</p>
|
|
633
|
+
<div class="source"><pre>
|
|
634
|
+
<module name="HiddenField">
|
|
635
|
+
<property name="ignoreFormat" value="^rcsid$"/>
|
|
636
|
+
</module>
|
|
637
|
+
</pre></div>
|
|
638
|
+
|
|
639
|
+
<p>
|
|
640
|
+
To configure the check so that it ignores constructor parameters:
|
|
641
|
+
</p>
|
|
642
|
+
<div class="source"><pre>
|
|
643
|
+
<module name="HiddenField">
|
|
644
|
+
<property name="ignoreConstructorParameter" value="true"/>
|
|
645
|
+
</module>
|
|
646
|
+
</pre></div>
|
|
647
|
+
|
|
648
|
+
<p>
|
|
649
|
+
To configure the check so that it ignores the parameter of setter
|
|
650
|
+
methods:
|
|
651
|
+
</p>
|
|
652
|
+
<div class="source"><pre>
|
|
653
|
+
<module name="HiddenField">
|
|
654
|
+
<property name="ignoreSetter" value="true"/>
|
|
655
|
+
</module>
|
|
656
|
+
</pre></div>
|
|
657
|
+
</div>
|
|
658
|
+
|
|
659
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
660
|
+
<p>
|
|
661
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
662
|
+
</p>
|
|
663
|
+
</div>
|
|
664
|
+
|
|
665
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
666
|
+
<p>
|
|
667
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
668
|
+
</p>
|
|
669
|
+
</div>
|
|
670
|
+
</div>
|
|
671
|
+
|
|
672
|
+
<div class="section"><h2>IllegalInstantiation<a name="IllegalInstantiation"></a></h2>
|
|
673
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
674
|
+
<p>
|
|
675
|
+
Checks for illegal instantiations where a factory method is
|
|
676
|
+
preferred.
|
|
677
|
+
</p>
|
|
678
|
+
|
|
679
|
+
<p>
|
|
680
|
+
Rationale: Depending on the project, for some classes it might be
|
|
681
|
+
preferable to create instances through factory methods rather than
|
|
682
|
+
calling the constructor.
|
|
683
|
+
</p>
|
|
684
|
+
|
|
685
|
+
<p>
|
|
686
|
+
A simple example is the <tt>java.lang.Boolean</tt>
|
|
687
|
+
class. In order to save memory and CPU cycles, it is preferable to
|
|
688
|
+
use the predefined constants <tt> TRUE</tt> and
|
|
689
|
+
<tt>FALSE</tt>. Constructor invocations should be
|
|
690
|
+
replaced by calls to <tt>Boolean.valueOf()</tt>.
|
|
691
|
+
</p>
|
|
692
|
+
|
|
693
|
+
<p>
|
|
694
|
+
Some extremely performance sensitive projects may require the use of
|
|
695
|
+
factory methods for other classes as well, to enforce the usage of
|
|
696
|
+
number caches or object pools.
|
|
697
|
+
</p>
|
|
698
|
+
</div>
|
|
699
|
+
|
|
700
|
+
<div class="section"><h3>Notes<a name="Notes"></a></h3>
|
|
701
|
+
<p>
|
|
702
|
+
There is a limitation that it is currently not possible to specify
|
|
703
|
+
array classes.
|
|
704
|
+
</p>
|
|
705
|
+
</div>
|
|
706
|
+
|
|
707
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
708
|
+
<table border="0" class="bodyTable">
|
|
709
|
+
<tr class="a">
|
|
710
|
+
<th>name</th>
|
|
711
|
+
<th>description</th>
|
|
712
|
+
<th>type</th>
|
|
713
|
+
<th>default value</th>
|
|
714
|
+
</tr>
|
|
715
|
+
<tr class="b">
|
|
716
|
+
<td>classes</td>
|
|
717
|
+
<td>classes that should not be instantiated</td>
|
|
718
|
+
<td><a href="property_types.html#stringSet">String Set</a></td>
|
|
719
|
+
<td>{}</td>
|
|
720
|
+
</tr>
|
|
721
|
+
</table>
|
|
722
|
+
</div>
|
|
723
|
+
|
|
724
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
725
|
+
<p>
|
|
726
|
+
To configure the check to find instantiations of java.lang.Boolean:
|
|
727
|
+
</p>
|
|
728
|
+
<div class="source"><pre>
|
|
729
|
+
<module name="IllegalInstantiation">
|
|
730
|
+
<property name="classes" value="java.lang.Boolean"/>
|
|
731
|
+
</module>
|
|
732
|
+
</pre></div>
|
|
733
|
+
</div>
|
|
734
|
+
|
|
735
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
736
|
+
<p>
|
|
737
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
738
|
+
</p>
|
|
739
|
+
</div>
|
|
740
|
+
|
|
741
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
742
|
+
<p>
|
|
743
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
744
|
+
</p>
|
|
745
|
+
</div>
|
|
746
|
+
</div>
|
|
747
|
+
|
|
748
|
+
<div class="section"><h2>IllegalToken<a name="IllegalToken"></a></h2>
|
|
749
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
750
|
+
<p>
|
|
751
|
+
Checks for illegal tokens.
|
|
752
|
+
</p>
|
|
753
|
+
|
|
754
|
+
<p>
|
|
755
|
+
Rational: Certain language features often lead to hard to maintain
|
|
756
|
+
code or are non-obvious to novice developers. Other features may be
|
|
757
|
+
discouraged in certain frameworks, such as not having native methods
|
|
758
|
+
in EJB components.
|
|
759
|
+
</p>
|
|
760
|
+
</div>
|
|
761
|
+
|
|
762
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
763
|
+
<table border="0" class="bodyTable">
|
|
764
|
+
<tr class="a">
|
|
765
|
+
<th>name</th>
|
|
766
|
+
<th>description</th>
|
|
767
|
+
<th>type</th>
|
|
768
|
+
<th>default value</th>
|
|
769
|
+
</tr>
|
|
770
|
+
<tr class="b">
|
|
771
|
+
<td>tokens</td>
|
|
772
|
+
<td>tokens to check</td>
|
|
773
|
+
<td>
|
|
774
|
+
subset of <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">TokenTypes</a>,
|
|
775
|
+
</td>
|
|
776
|
+
<td>
|
|
777
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#LITERAL_SWITCH">LITERAL_SWITCH</a>,
|
|
778
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#POST_INC">POST_INC</a>,
|
|
779
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#POST_DEC">POST_DEC</a>
|
|
780
|
+
</td>
|
|
781
|
+
</tr>
|
|
782
|
+
</table>
|
|
783
|
+
</div>
|
|
784
|
+
|
|
785
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
786
|
+
<p>
|
|
787
|
+
To configure the check to find token LITERAL_NATIVE:
|
|
788
|
+
</p>
|
|
789
|
+
<div class="source"><pre>
|
|
790
|
+
<module name="IllegalToken">
|
|
791
|
+
<property name="tokens" value="LITERAL_NATIVE"/>
|
|
792
|
+
</module>
|
|
793
|
+
</pre></div>
|
|
794
|
+
</div>
|
|
795
|
+
|
|
796
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
797
|
+
<p>
|
|
798
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
799
|
+
</p>
|
|
800
|
+
</div>
|
|
801
|
+
|
|
802
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
803
|
+
<p>
|
|
804
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
805
|
+
</p>
|
|
806
|
+
</div>
|
|
807
|
+
</div>
|
|
808
|
+
|
|
809
|
+
<div class="section"><h2>IllegalTokenText<a name="IllegalTokenText"></a></h2>
|
|
810
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
811
|
+
<p>
|
|
812
|
+
Checks for illegal token text.
|
|
813
|
+
</p>
|
|
814
|
+
</div>
|
|
815
|
+
|
|
816
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
817
|
+
<table border="0" class="bodyTable">
|
|
818
|
+
<tr class="a">
|
|
819
|
+
<th>name</th>
|
|
820
|
+
<th>description</th>
|
|
821
|
+
<th>type</th>
|
|
822
|
+
<th>default value</th>
|
|
823
|
+
</tr>
|
|
824
|
+
<tr class="b">
|
|
825
|
+
<td>tokens</td>
|
|
826
|
+
<td>tokens to check</td>
|
|
827
|
+
<td>subset of <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">TokenTypes</a>
|
|
828
|
+
</td>
|
|
829
|
+
<td>empty</td>
|
|
830
|
+
</tr>
|
|
831
|
+
<tr class="a">
|
|
832
|
+
<td>format</td>
|
|
833
|
+
<td>illegal pattern</td>
|
|
834
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
835
|
+
<td><tt>^$</tt> (empty)</td>
|
|
836
|
+
</tr>
|
|
837
|
+
<tr class="b">
|
|
838
|
+
<td>ignoreCase</td>
|
|
839
|
+
<td>Controls whether to ignore case when matching.</td>
|
|
840
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
841
|
+
<td><tt>false</tt></td>
|
|
842
|
+
</tr>
|
|
843
|
+
<tr class="a">
|
|
844
|
+
<td>message</td>
|
|
845
|
+
<td>Message which is used to notify about violations;
|
|
846
|
+
if empty then the default message is used.</td>
|
|
847
|
+
<td><a href="property_types.html#string">String</a></td>
|
|
848
|
+
<td><tt>""</tt>(empty)</td>
|
|
849
|
+
</tr>
|
|
850
|
+
</table>
|
|
851
|
+
</div>
|
|
852
|
+
|
|
853
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
854
|
+
<p>
|
|
855
|
+
To configure the check to forbid String literals containing <tt>"a href"</tt>:
|
|
856
|
+
</p>
|
|
857
|
+
<div class="source"><pre>
|
|
858
|
+
<module name="IllegalTokenText">
|
|
859
|
+
<property name="tokens" value="STRING_LITERAL"/>
|
|
860
|
+
<property name="format" value="a href"/>
|
|
861
|
+
</module>
|
|
862
|
+
</pre></div>
|
|
863
|
+
|
|
864
|
+
<p>
|
|
865
|
+
To configure the check to forbid leading zeros in an integer
|
|
866
|
+
literal, other than zero and a hex literal:
|
|
867
|
+
</p>
|
|
868
|
+
<div class="source"><pre>
|
|
869
|
+
<module name="IllegalTokenText">
|
|
870
|
+
<property name="tokens" value="NUM_INT,NUM_LONG"/>
|
|
871
|
+
<property name="format" value="^0[^lx]"/>
|
|
872
|
+
<property name="ignoreCase" value="true"/>
|
|
873
|
+
</module>
|
|
874
|
+
</pre></div>
|
|
875
|
+
</div>
|
|
876
|
+
|
|
877
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
878
|
+
<p>
|
|
879
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
880
|
+
</p>
|
|
881
|
+
</div>
|
|
882
|
+
|
|
883
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
884
|
+
<p>
|
|
885
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
886
|
+
</p>
|
|
887
|
+
</div>
|
|
888
|
+
</div>
|
|
889
|
+
|
|
890
|
+
<div class="section"><h2>InnerAssignment<a name="InnerAssignment"></a></h2>
|
|
891
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
892
|
+
<p>
|
|
893
|
+
Checks for assignments in subexpressions, such as in <tt>String s = Integer.toString(i = 2);</tt>.
|
|
894
|
+
</p>
|
|
895
|
+
|
|
896
|
+
<p>
|
|
897
|
+
Rationale: With the exception of <tt>for</tt>
|
|
898
|
+
iterators, all assignments should occur in their own toplevel
|
|
899
|
+
statement to increase readability. With inner assignments like the
|
|
900
|
+
above it is difficult to see all places where a variable is set.
|
|
901
|
+
</p>
|
|
902
|
+
</div>
|
|
903
|
+
|
|
904
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
905
|
+
<table border="0" class="bodyTable">
|
|
906
|
+
<tr class="a">
|
|
907
|
+
<th>name</th>
|
|
908
|
+
<th>description</th>
|
|
909
|
+
<th>type</th>
|
|
910
|
+
<th>default value</th>
|
|
911
|
+
</tr>
|
|
912
|
+
<tr class="b">
|
|
913
|
+
<td>tokens</td>
|
|
914
|
+
<td>assignments to check</td>
|
|
915
|
+
<td>subset of tokens <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#ASSIGN">ASSIGN</a>,
|
|
916
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#BAND_ASSIGN">BAND_ASSIGN</a>,
|
|
917
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#BOR_ASSIGN">BOR_ASSIGN</a>,
|
|
918
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#BSR_ASSIGN">BSR_ASSIGN</a>,
|
|
919
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#BXOR_ASSIGN">BXOR_ASSIGN</a>,
|
|
920
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#DIV_ASSIGN">DIV_ASSIGN</a>,
|
|
921
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#MINUS_ASSIGN">MINUS_ASSIGN</a>,
|
|
922
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#MOD_ASSIGN">MOD_ASSIGN</a>,
|
|
923
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PLUS_ASSIGN">PLUS_ASSIGN</a>,
|
|
924
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#SL_ASSIGN">SL_ASSIGN</a>,
|
|
925
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#SR_ASSIGN">SR_ASSIGN</a>,
|
|
926
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#STAR_ASSIGN">STAR_ASSIGN</a></td>
|
|
927
|
+
<td>all tokens</td>
|
|
928
|
+
</tr>
|
|
929
|
+
</table>
|
|
930
|
+
</div>
|
|
931
|
+
|
|
932
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
933
|
+
<p>
|
|
934
|
+
To configure the check:
|
|
935
|
+
</p>
|
|
936
|
+
<div class="source"><pre>
|
|
937
|
+
<module name="InnerAssignment"/>
|
|
938
|
+
</pre></div>
|
|
939
|
+
|
|
940
|
+
<p>
|
|
941
|
+
To configure the check for only <tt>=</tt>, <tt> +=</tt>, and <tt>-=</tt> operators:
|
|
942
|
+
</p>
|
|
943
|
+
<div class="source"><pre>
|
|
944
|
+
<module name="InnerAssignment">
|
|
945
|
+
<property name="tokens" value="ASSIGN,PLUS_ASSIGN,MINUS_ASSIGN"/>
|
|
946
|
+
</module>
|
|
947
|
+
</pre></div>
|
|
948
|
+
</div>
|
|
949
|
+
|
|
950
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
951
|
+
<p>
|
|
952
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
953
|
+
</p>
|
|
954
|
+
</div>
|
|
955
|
+
|
|
956
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
957
|
+
<p>
|
|
958
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
959
|
+
</p>
|
|
960
|
+
</div>
|
|
961
|
+
</div>
|
|
962
|
+
|
|
963
|
+
<div class="section"><h2>MagicNumber<a name="MagicNumber"></a></h2>
|
|
964
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
965
|
+
<p>
|
|
966
|
+
Checks that there are no "magic numbers", where a magic
|
|
967
|
+
number is a numeric literal that is not defined as a constant. By
|
|
968
|
+
default, -1, 0, 1, and 2 are not considered to be magic numbers.
|
|
969
|
+
</p>
|
|
970
|
+
</div>
|
|
971
|
+
|
|
972
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
973
|
+
<table border="0" class="bodyTable">
|
|
974
|
+
<tr class="a">
|
|
975
|
+
<th>name</th>
|
|
976
|
+
<th>description</th>
|
|
977
|
+
<th>type</th>
|
|
978
|
+
<th>default value</th>
|
|
979
|
+
</tr>
|
|
980
|
+
<tr class="b">
|
|
981
|
+
<td>tokens</td>
|
|
982
|
+
<td>tokens to check</td>
|
|
983
|
+
<td>subset of tokens NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG</td>
|
|
984
|
+
<td>all tokens</td>
|
|
985
|
+
</tr>
|
|
986
|
+
<tr class="a">
|
|
987
|
+
<td>ignoreNumbers</td>
|
|
988
|
+
<td>non-magic numbers</td>
|
|
989
|
+
<td>list of numbers</td>
|
|
990
|
+
<td>-1, 0, 1, 2</td>
|
|
991
|
+
</tr>
|
|
992
|
+
<tr class="b">
|
|
993
|
+
<td>ignoreHashCodeMethod</td>
|
|
994
|
+
<td>ignore magic numbers in hashCode methods</td>
|
|
995
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
996
|
+
<td><span class="default">false</span></td>
|
|
997
|
+
</tr>
|
|
998
|
+
<tr class="a">
|
|
999
|
+
<td>ignoreAnnotation</td>
|
|
1000
|
+
<td>ignore magic numbers in annotation declarations.</td>
|
|
1001
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1002
|
+
<td><span class="default">false</span></td>
|
|
1003
|
+
</tr>
|
|
1004
|
+
</table>
|
|
1005
|
+
</div>
|
|
1006
|
+
|
|
1007
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1008
|
+
<p>
|
|
1009
|
+
To configure the check:
|
|
1010
|
+
</p>
|
|
1011
|
+
<div class="source"><pre>
|
|
1012
|
+
<module name="MagicNumber"/>
|
|
1013
|
+
</pre></div>
|
|
1014
|
+
|
|
1015
|
+
<p>
|
|
1016
|
+
To configure the check so that it checks floating-point numbers
|
|
1017
|
+
that are neither 0, 0.5, nor 1:
|
|
1018
|
+
</p>
|
|
1019
|
+
<div class="source"><pre>
|
|
1020
|
+
<module name="MagicNumber">
|
|
1021
|
+
<property name="tokens" value="NUM_DOUBLE, NUM_FLOAT"/>
|
|
1022
|
+
<property name="ignoreNumbers" value="0, 0.5, 1"/>
|
|
1023
|
+
</module>
|
|
1024
|
+
</pre></div>
|
|
1025
|
+
</div>
|
|
1026
|
+
|
|
1027
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1028
|
+
<p>
|
|
1029
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1030
|
+
</p>
|
|
1031
|
+
</div>
|
|
1032
|
+
|
|
1033
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1034
|
+
<p>
|
|
1035
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1036
|
+
</p>
|
|
1037
|
+
</div>
|
|
1038
|
+
</div>
|
|
1039
|
+
|
|
1040
|
+
<div class="section"><h2>MissingSwitchDefault<a name="MissingSwitchDefault"></a></h2>
|
|
1041
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1042
|
+
<p>
|
|
1043
|
+
Checks that switch statement has "default" clause.
|
|
1044
|
+
</p>
|
|
1045
|
+
|
|
1046
|
+
<p>
|
|
1047
|
+
Rationale: It's usually a good idea to introduce a default case in
|
|
1048
|
+
every switch statement. Even if the developer is sure that all
|
|
1049
|
+
currently possible cases are covered, this should be expressed in
|
|
1050
|
+
the default branch, e.g. by using an assertion. This way the code is
|
|
1051
|
+
protected aginst later changes, e.g. introduction of new types in an
|
|
1052
|
+
enumeration type.
|
|
1053
|
+
</p>
|
|
1054
|
+
</div>
|
|
1055
|
+
|
|
1056
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1057
|
+
<p>
|
|
1058
|
+
To configure the check:
|
|
1059
|
+
</p>
|
|
1060
|
+
<div class="source"><pre>
|
|
1061
|
+
<module name="MissingSwitchDefault"/>
|
|
1062
|
+
</pre></div>
|
|
1063
|
+
</div>
|
|
1064
|
+
|
|
1065
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1066
|
+
<p>
|
|
1067
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1068
|
+
</p>
|
|
1069
|
+
</div>
|
|
1070
|
+
|
|
1071
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1072
|
+
<p>
|
|
1073
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1074
|
+
</p>
|
|
1075
|
+
</div>
|
|
1076
|
+
</div>
|
|
1077
|
+
|
|
1078
|
+
<div class="section"><h2>ModifiedControlVariable<a name="ModifiedControlVariable"></a></h2>
|
|
1079
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1080
|
+
<p>
|
|
1081
|
+
Check for ensuring that for loop control variables are not
|
|
1082
|
+
modified inside the for block. An example is:
|
|
1083
|
+
</p>
|
|
1084
|
+
|
|
1085
|
+
<div class="source"><pre>
|
|
1086
|
+
for (int i = 0; i < 1; i++) {
|
|
1087
|
+
i++;
|
|
1088
|
+
}
|
|
1089
|
+
</pre></div>
|
|
1090
|
+
|
|
1091
|
+
<p>
|
|
1092
|
+
Rationale: If the control variable is modified inside the loop
|
|
1093
|
+
body, the program flow becomes more difficult to follow. An option
|
|
1094
|
+
is to replace the for loop with a while loop.
|
|
1095
|
+
</p>
|
|
1096
|
+
</div>
|
|
1097
|
+
|
|
1098
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1099
|
+
<p>
|
|
1100
|
+
To configure the check:
|
|
1101
|
+
</p>
|
|
1102
|
+
<div class="source"><pre>
|
|
1103
|
+
<module name="ModifiedControlVariable"/>
|
|
1104
|
+
</pre></div>
|
|
1105
|
+
</div>
|
|
1106
|
+
|
|
1107
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1108
|
+
<p>
|
|
1109
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1110
|
+
</p>
|
|
1111
|
+
</div>
|
|
1112
|
+
|
|
1113
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1114
|
+
<p>
|
|
1115
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1116
|
+
</p>
|
|
1117
|
+
</div>
|
|
1118
|
+
</div>
|
|
1119
|
+
|
|
1120
|
+
<div class="section"><h2>RedundantThrows<a name="RedundantThrows"></a></h2>
|
|
1121
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1122
|
+
<p>
|
|
1123
|
+
Checks for redundant exceptions declared in throws clause such as
|
|
1124
|
+
duplicates, unchecked exceptions or subclasses of another declared
|
|
1125
|
+
exception.
|
|
1126
|
+
</p>
|
|
1127
|
+
</div>
|
|
1128
|
+
|
|
1129
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1130
|
+
<table border="0" class="bodyTable">
|
|
1131
|
+
<tr class="a">
|
|
1132
|
+
<th>name</th>
|
|
1133
|
+
<th>description</th>
|
|
1134
|
+
<th>type</th>
|
|
1135
|
+
<th>default value</th>
|
|
1136
|
+
</tr>
|
|
1137
|
+
<tr class="b">
|
|
1138
|
+
<td>allowUnchecked</td>
|
|
1139
|
+
<td>whether unchecked exceptions in throws are allowed or not</td>
|
|
1140
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1141
|
+
<td><tt>false</tt></td>
|
|
1142
|
+
</tr>
|
|
1143
|
+
<tr class="a">
|
|
1144
|
+
<td>allowSubclasses</td>
|
|
1145
|
+
<td> whether subclass of another declared exception
|
|
1146
|
+
is allowed in throws clause </td>
|
|
1147
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1148
|
+
<td><tt>false</tt></td>
|
|
1149
|
+
</tr>
|
|
1150
|
+
<tr class="b">
|
|
1151
|
+
<td>logLoadErrors</td>
|
|
1152
|
+
<td>This check may need to load exception classes mentioned in
|
|
1153
|
+
the @throws tag to check whether they are RuntimeExceptions.
|
|
1154
|
+
If loading the class fails, this property allows to control
|
|
1155
|
+
checkstyle's error handling. If set to <tt>false</tt> a
|
|
1156
|
+
classpath configuration problem is assumed and the TreeWalker
|
|
1157
|
+
stops operating on the class completely.
|
|
1158
|
+
If set to <tt>true</tt> (the default), checkstyle assumes a
|
|
1159
|
+
typo or refactoring problem in the
|
|
1160
|
+
javadoc and logs the problem in the normal checkstyle report
|
|
1161
|
+
(potentially masking a configuration error).</td>
|
|
1162
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1163
|
+
<td><tt>true</tt></td>
|
|
1164
|
+
</tr>
|
|
1165
|
+
<tr class="a">
|
|
1166
|
+
<td>suppressLoadErrors</td>
|
|
1167
|
+
<td>When logLoadErrors is set to true, the TreeWalker completely
|
|
1168
|
+
processes a class and displays any problems with loading exceptions
|
|
1169
|
+
as checkstyle violations.
|
|
1170
|
+
When this property is set to true, the violations generated when
|
|
1171
|
+
logLoadErrors is set true are suppressed from being reported as
|
|
1172
|
+
violations in the checkstyle report.
|
|
1173
|
+
</td>
|
|
1174
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1175
|
+
<td><tt>false</tt></td>
|
|
1176
|
+
</tr>
|
|
1177
|
+
</table>
|
|
1178
|
+
</div>
|
|
1179
|
+
|
|
1180
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1181
|
+
<p>
|
|
1182
|
+
To configure the default check:
|
|
1183
|
+
</p>
|
|
1184
|
+
<div class="source"><pre>
|
|
1185
|
+
<module name="RedundantThrows"/>
|
|
1186
|
+
</pre></div>
|
|
1187
|
+
|
|
1188
|
+
<p>
|
|
1189
|
+
To configure the check to allow unchecked exception in throws clause
|
|
1190
|
+
</p>
|
|
1191
|
+
<div class="source"><pre>
|
|
1192
|
+
<module name="RedundantThrows">
|
|
1193
|
+
<property name="allowUnchecked" value="true"/>
|
|
1194
|
+
</module>
|
|
1195
|
+
</pre></div>
|
|
1196
|
+
</div>
|
|
1197
|
+
|
|
1198
|
+
<div class="section"><h3>Note<a name="Note"></a></h3>
|
|
1199
|
+
<p>
|
|
1200
|
+
The classpath should be configured to locate the class
|
|
1201
|
+
information. The classpath configuration is dependent on the
|
|
1202
|
+
mechanism used to invoke Checkstyle.
|
|
1203
|
+
</p>
|
|
1204
|
+
</div>
|
|
1205
|
+
|
|
1206
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1207
|
+
<p>
|
|
1208
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1209
|
+
</p>
|
|
1210
|
+
</div>
|
|
1211
|
+
|
|
1212
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1213
|
+
<p>
|
|
1214
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1215
|
+
</p>
|
|
1216
|
+
</div>
|
|
1217
|
+
</div>
|
|
1218
|
+
|
|
1219
|
+
<div class="section"><h2>SimplifyBooleanExpression<a name="SimplifyBooleanExpression"></a></h2>
|
|
1220
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1221
|
+
<p>
|
|
1222
|
+
Checks for overly complicated boolean expressions. Currently finds
|
|
1223
|
+
code like <tt> if (b == true)</tt>, <tt>b || true</tt>, <tt>!false</tt>,
|
|
1224
|
+
etc.
|
|
1225
|
+
</p>
|
|
1226
|
+
|
|
1227
|
+
<p>
|
|
1228
|
+
Rationale: Complex boolean logic makes code hard to understand and
|
|
1229
|
+
maintain.
|
|
1230
|
+
</p>
|
|
1231
|
+
</div>
|
|
1232
|
+
|
|
1233
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1234
|
+
<p>
|
|
1235
|
+
To configure the check:
|
|
1236
|
+
</p>
|
|
1237
|
+
<div class="source"><pre>
|
|
1238
|
+
<module name="SimplifyBooleanExpression"/>
|
|
1239
|
+
</pre></div>
|
|
1240
|
+
</div>
|
|
1241
|
+
|
|
1242
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1243
|
+
<p>
|
|
1244
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1245
|
+
</p>
|
|
1246
|
+
</div>
|
|
1247
|
+
|
|
1248
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1249
|
+
<p>
|
|
1250
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1251
|
+
</p>
|
|
1252
|
+
</div>
|
|
1253
|
+
</div>
|
|
1254
|
+
|
|
1255
|
+
<div class="section"><h2>SimplifyBooleanReturn<a name="SimplifyBooleanReturn"></a></h2>
|
|
1256
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1257
|
+
<p>
|
|
1258
|
+
Checks for overly complicated boolean return statements. For example
|
|
1259
|
+
the following code
|
|
1260
|
+
</p>
|
|
1261
|
+
<div class="source"><pre>
|
|
1262
|
+
if (valid())
|
|
1263
|
+
return false;
|
|
1264
|
+
else
|
|
1265
|
+
return true;
|
|
1266
|
+
</pre></div>
|
|
1267
|
+
|
|
1268
|
+
<p>
|
|
1269
|
+
could be written as
|
|
1270
|
+
</p>
|
|
1271
|
+
<div class="source"><pre>
|
|
1272
|
+
return !valid();
|
|
1273
|
+
</pre></div>
|
|
1274
|
+
|
|
1275
|
+
<p>
|
|
1276
|
+
The Idea for this Check has been shamelessly stolen from the
|
|
1277
|
+
equivalent <a class="externalLink" href="http://pmd.sourceforge.net">PMD</a> rule.
|
|
1278
|
+
</p>
|
|
1279
|
+
</div>
|
|
1280
|
+
|
|
1281
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1282
|
+
<p>
|
|
1283
|
+
To configure the check:
|
|
1284
|
+
</p>
|
|
1285
|
+
<div class="source"><pre>
|
|
1286
|
+
<module name="SimplifyBooleanReturn"/>
|
|
1287
|
+
</pre></div>
|
|
1288
|
+
</div>
|
|
1289
|
+
|
|
1290
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1291
|
+
<p>
|
|
1292
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1293
|
+
</p>
|
|
1294
|
+
</div>
|
|
1295
|
+
|
|
1296
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1297
|
+
<p>
|
|
1298
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1299
|
+
</p>
|
|
1300
|
+
</div>
|
|
1301
|
+
</div>
|
|
1302
|
+
|
|
1303
|
+
<div class="section"><h2>StringLiteralEquality<a name="StringLiteralEquality"></a></h2>
|
|
1304
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1305
|
+
<p>
|
|
1306
|
+
Checks that string literals are not used with <tt>==</tt> or
|
|
1307
|
+
<tt>!=</tt>.
|
|
1308
|
+
</p>
|
|
1309
|
+
|
|
1310
|
+
<p>
|
|
1311
|
+
Rationale: Novice Java programmers often use code like:
|
|
1312
|
+
</p>
|
|
1313
|
+
<div class="source"><pre>
|
|
1314
|
+
if (x == "something")
|
|
1315
|
+
</pre></div>
|
|
1316
|
+
|
|
1317
|
+
<p>when they mean</p>
|
|
1318
|
+
<div class="source"><pre>
|
|
1319
|
+
if ("something".equals(x))
|
|
1320
|
+
</pre></div>
|
|
1321
|
+
</div>
|
|
1322
|
+
|
|
1323
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1324
|
+
<p>
|
|
1325
|
+
To configure the check:
|
|
1326
|
+
</p>
|
|
1327
|
+
<div class="source"><pre>
|
|
1328
|
+
<module name="StringLiteralEquality"/>
|
|
1329
|
+
</pre></div>
|
|
1330
|
+
</div>
|
|
1331
|
+
|
|
1332
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1333
|
+
<p>
|
|
1334
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1335
|
+
</p>
|
|
1336
|
+
</div>
|
|
1337
|
+
|
|
1338
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1339
|
+
<p>
|
|
1340
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1341
|
+
</p>
|
|
1342
|
+
</div>
|
|
1343
|
+
</div>
|
|
1344
|
+
|
|
1345
|
+
<div class="section"><h2>NestedForDepth<a name="NestedForDepth"></a></h2>
|
|
1346
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1347
|
+
<p>
|
|
1348
|
+
Restricts nested <tt>for</tt> blocks to a specified depth
|
|
1349
|
+
(default = 1).
|
|
1350
|
+
</p>
|
|
1351
|
+
</div>
|
|
1352
|
+
|
|
1353
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1354
|
+
<table border="0" class="bodyTable">
|
|
1355
|
+
<tr class="a">
|
|
1356
|
+
<th>name</th>
|
|
1357
|
+
<th>description</th>
|
|
1358
|
+
<th>type</th>
|
|
1359
|
+
<th>default value</th>
|
|
1360
|
+
</tr>
|
|
1361
|
+
<tr class="b">
|
|
1362
|
+
<td>max</td>
|
|
1363
|
+
<td>allowed nesting depth</td>
|
|
1364
|
+
<td><a href="property_types.html#integer">Integer</a></td>
|
|
1365
|
+
<td><span class="default">1</span></td>
|
|
1366
|
+
</tr>
|
|
1367
|
+
</table>
|
|
1368
|
+
</div>
|
|
1369
|
+
|
|
1370
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1371
|
+
<p>
|
|
1372
|
+
To configure the check:
|
|
1373
|
+
</p>
|
|
1374
|
+
<div class="source"><pre>
|
|
1375
|
+
<module name="NestedForDepth"/>
|
|
1376
|
+
</pre></div>
|
|
1377
|
+
|
|
1378
|
+
<p>
|
|
1379
|
+
To configure the check to allow nesting depth 3:
|
|
1380
|
+
</p>
|
|
1381
|
+
<div class="source"><pre>
|
|
1382
|
+
<module name="NestedForDepth">
|
|
1383
|
+
<property name="max" value="3"/>
|
|
1384
|
+
</module>
|
|
1385
|
+
</pre></div>
|
|
1386
|
+
</div>
|
|
1387
|
+
|
|
1388
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1389
|
+
<p>
|
|
1390
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1391
|
+
</p>
|
|
1392
|
+
</div>
|
|
1393
|
+
|
|
1394
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1395
|
+
<p>
|
|
1396
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1397
|
+
</p>
|
|
1398
|
+
</div>
|
|
1399
|
+
</div>
|
|
1400
|
+
|
|
1401
|
+
<div class="section"><h2>NestedIfDepth<a name="NestedIfDepth"></a></h2>
|
|
1402
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1403
|
+
<p>
|
|
1404
|
+
Restricts nested if-else blocks to a specified depth (default = 1).
|
|
1405
|
+
</p>
|
|
1406
|
+
</div>
|
|
1407
|
+
|
|
1408
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1409
|
+
<table border="0" class="bodyTable">
|
|
1410
|
+
<tr class="a">
|
|
1411
|
+
<th>name</th>
|
|
1412
|
+
<th>description</th>
|
|
1413
|
+
<th>type</th>
|
|
1414
|
+
<th>default value</th>
|
|
1415
|
+
</tr>
|
|
1416
|
+
<tr class="b">
|
|
1417
|
+
<td>max</td>
|
|
1418
|
+
<td>allowed nesting depth</td>
|
|
1419
|
+
<td><a href="property_types.html#integer">Integer</a></td>
|
|
1420
|
+
<td><tt>1</tt></td>
|
|
1421
|
+
</tr>
|
|
1422
|
+
</table>
|
|
1423
|
+
</div>
|
|
1424
|
+
|
|
1425
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1426
|
+
<p>
|
|
1427
|
+
To configure the check:
|
|
1428
|
+
</p>
|
|
1429
|
+
<div class="source"><pre>
|
|
1430
|
+
<module name="NestedIfDepth"/>
|
|
1431
|
+
</pre></div>
|
|
1432
|
+
|
|
1433
|
+
<p>
|
|
1434
|
+
To configure the check to allow nesting depth 3:
|
|
1435
|
+
</p>
|
|
1436
|
+
<div class="source"><pre>
|
|
1437
|
+
<module name="NestedIfDepth">
|
|
1438
|
+
<property name="max" value="3"/>
|
|
1439
|
+
</module>
|
|
1440
|
+
</pre></div>
|
|
1441
|
+
</div>
|
|
1442
|
+
|
|
1443
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1444
|
+
<p>
|
|
1445
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1446
|
+
</p>
|
|
1447
|
+
</div>
|
|
1448
|
+
|
|
1449
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1450
|
+
<p>
|
|
1451
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1452
|
+
</p>
|
|
1453
|
+
</div>
|
|
1454
|
+
</div>
|
|
1455
|
+
|
|
1456
|
+
<div class="section"><h2>NestedTryDepth<a name="NestedTryDepth"></a></h2>
|
|
1457
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1458
|
+
<p>
|
|
1459
|
+
Restricts nested try blocks to a specified depth (default = 1).
|
|
1460
|
+
</p>
|
|
1461
|
+
</div>
|
|
1462
|
+
|
|
1463
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1464
|
+
<table border="0" class="bodyTable">
|
|
1465
|
+
<tr class="a">
|
|
1466
|
+
<th>name</th>
|
|
1467
|
+
<th>description</th>
|
|
1468
|
+
<th>type</th>
|
|
1469
|
+
<th>default value</th>
|
|
1470
|
+
</tr>
|
|
1471
|
+
<tr class="b">
|
|
1472
|
+
<td>max</td>
|
|
1473
|
+
<td>allowed nesting depth</td>
|
|
1474
|
+
<td><a href="property_types.html#integer">Integer</a></td>
|
|
1475
|
+
<td><tt>1</tt></td>
|
|
1476
|
+
</tr>
|
|
1477
|
+
</table>
|
|
1478
|
+
</div>
|
|
1479
|
+
|
|
1480
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1481
|
+
<p>
|
|
1482
|
+
To configure the check:
|
|
1483
|
+
</p>
|
|
1484
|
+
<div class="source"><pre>
|
|
1485
|
+
<module name="NestedTryDepth"/>
|
|
1486
|
+
</pre></div>
|
|
1487
|
+
|
|
1488
|
+
<p>
|
|
1489
|
+
To configure the check to allow nesting depth 3:
|
|
1490
|
+
</p>
|
|
1491
|
+
<div class="source"><pre>
|
|
1492
|
+
<module name="NestedTryDepth">
|
|
1493
|
+
<property name="max" value="3"/>
|
|
1494
|
+
</module>
|
|
1495
|
+
</pre></div>
|
|
1496
|
+
</div>
|
|
1497
|
+
|
|
1498
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1499
|
+
<p>
|
|
1500
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1501
|
+
</p>
|
|
1502
|
+
</div>
|
|
1503
|
+
|
|
1504
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1505
|
+
<p>
|
|
1506
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1507
|
+
</p>
|
|
1508
|
+
</div>
|
|
1509
|
+
</div>
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
<div class="section"><h2>NoClone<a name="NoClone"></a></h2>
|
|
1513
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1514
|
+
<p>
|
|
1515
|
+
Checks that the clone method is not overridden from the
|
|
1516
|
+
Object class.
|
|
1517
|
+
</p>
|
|
1518
|
+
|
|
1519
|
+
<p>
|
|
1520
|
+
Rationale: The clone method relies on strange/hard to follow rules that
|
|
1521
|
+
do not work it all situations. Consequently, it is difficult to
|
|
1522
|
+
override correctly. Below are some of the rules/reasons why the clone
|
|
1523
|
+
method should be avoided.
|
|
1524
|
+
</p>
|
|
1525
|
+
|
|
1526
|
+
<ul>
|
|
1527
|
+
<li>
|
|
1528
|
+
Classes supporting the clone method should implement the Cloneable
|
|
1529
|
+
interface but the Cloneable interface does not include the clone method.
|
|
1530
|
+
As a result, it doesn't enforce the method override.
|
|
1531
|
+
</li>
|
|
1532
|
+
<li>
|
|
1533
|
+
The Cloneable interface forces the Object's clone method to work
|
|
1534
|
+
correctly. Without implementing it, the Object's clone method will
|
|
1535
|
+
throw a CloneNotSupportedException.
|
|
1536
|
+
</li>
|
|
1537
|
+
<li>
|
|
1538
|
+
Non-final classes must return the object returned from a call to
|
|
1539
|
+
super.clone().
|
|
1540
|
+
</li>
|
|
1541
|
+
<li>
|
|
1542
|
+
Final classes can use a constructor to create a clone which is different
|
|
1543
|
+
from non-final classes.
|
|
1544
|
+
</li>
|
|
1545
|
+
<li>
|
|
1546
|
+
If a super class implements the clone method incorrectly all subclasses
|
|
1547
|
+
calling super.clone() are doomed to failure.
|
|
1548
|
+
</li>
|
|
1549
|
+
<li>
|
|
1550
|
+
If a class has references to mutable objects then those object
|
|
1551
|
+
references must be replaced with copies in the clone method
|
|
1552
|
+
after calling super.clone().
|
|
1553
|
+
</li>
|
|
1554
|
+
<li>
|
|
1555
|
+
The clone method does not work correctly with final mutable object
|
|
1556
|
+
references because final references cannot be reassigned.
|
|
1557
|
+
</li>
|
|
1558
|
+
<li>
|
|
1559
|
+
If a super class overrides the clone method then all subclasses must
|
|
1560
|
+
provide a correct clone implementation.
|
|
1561
|
+
</li>
|
|
1562
|
+
</ul>
|
|
1563
|
+
|
|
1564
|
+
<p>
|
|
1565
|
+
Two alternatives to the clone method, in some cases, is a copy constructor
|
|
1566
|
+
or a static factory method to return copies of an object. Both of these
|
|
1567
|
+
approaches are simpler and do not conflict with final fields. The do not
|
|
1568
|
+
force the calling client to handle a CloneNotSuportException. They also
|
|
1569
|
+
are typed therefore no casting is necessary. Finally, they are more
|
|
1570
|
+
flexible since they can take interface types rather than concrete classes.
|
|
1571
|
+
</p>
|
|
1572
|
+
|
|
1573
|
+
<p>
|
|
1574
|
+
Sometimes a copy constructor or static factory is not an acceptable
|
|
1575
|
+
alternative to the clone method. The example below highlights the
|
|
1576
|
+
limitation of a copy constructor (or static factory). Assume
|
|
1577
|
+
Square is a subclass for Shape.
|
|
1578
|
+
</p>
|
|
1579
|
+
|
|
1580
|
+
<div class="source"><pre>
|
|
1581
|
+
Shape s1 = new Square();
|
|
1582
|
+
System.out.println(s1 instanceof Square); //true
|
|
1583
|
+
</pre></div>
|
|
1584
|
+
|
|
1585
|
+
<p>
|
|
1586
|
+
...assume at this point the code knows nothing of s1 being a Square
|
|
1587
|
+
that's the beauty of polymorphism but the code wants to copy
|
|
1588
|
+
the Square which is declared as a Shape, its super type...
|
|
1589
|
+
</p>
|
|
1590
|
+
|
|
1591
|
+
<div class="source"><pre>
|
|
1592
|
+
Shape s2 = new Shape(s1); //using the copy constructor
|
|
1593
|
+
System.out.println(s2 instanceof Square); //false
|
|
1594
|
+
</pre></div>
|
|
1595
|
+
|
|
1596
|
+
<p>
|
|
1597
|
+
The working solution (without knowing about all subclasses and doing many
|
|
1598
|
+
casts) is to do the following (assuming correct clone implementation).
|
|
1599
|
+
</p>
|
|
1600
|
+
|
|
1601
|
+
<div class="source"><pre>
|
|
1602
|
+
Shape s2 = s1.clone();
|
|
1603
|
+
System.out.println(s2 instanceof Square); //true
|
|
1604
|
+
</pre></div>
|
|
1605
|
+
|
|
1606
|
+
<p>
|
|
1607
|
+
Just keep in mind if this type of polymorphic cloning is required
|
|
1608
|
+
then a properly implemented clone method may be the best choice.
|
|
1609
|
+
</p>
|
|
1610
|
+
|
|
1611
|
+
<p>
|
|
1612
|
+
Much of this information was taken from Effective Java:
|
|
1613
|
+
Programming Language Guide First Edition by Joshua Bloch
|
|
1614
|
+
pages 45-52. Give Bloch credit for writing an excellent book.
|
|
1615
|
+
</p>
|
|
1616
|
+
|
|
1617
|
+
<p>
|
|
1618
|
+
This check is almost exactly the same as the {@link NoFinalizerCheck}
|
|
1619
|
+
</p>
|
|
1620
|
+
</div>
|
|
1621
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1622
|
+
<p>
|
|
1623
|
+
To configure the check:
|
|
1624
|
+
</p>
|
|
1625
|
+
<div class="source"><pre>
|
|
1626
|
+
<module name="NoClone"/>
|
|
1627
|
+
</pre></div>
|
|
1628
|
+
</div>
|
|
1629
|
+
|
|
1630
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1631
|
+
<p>
|
|
1632
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1633
|
+
</p>
|
|
1634
|
+
</div>
|
|
1635
|
+
|
|
1636
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1637
|
+
<p>
|
|
1638
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1639
|
+
</p>
|
|
1640
|
+
</div>
|
|
1641
|
+
</div>
|
|
1642
|
+
|
|
1643
|
+
<div class="section"><h2>NoFinalizer<a name="NoFinalizer"></a></h2>
|
|
1644
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1645
|
+
<p>
|
|
1646
|
+
Verifies there are no <tt>finalize()</tt> methods
|
|
1647
|
+
defined in a class.
|
|
1648
|
+
</p>
|
|
1649
|
+
</div>
|
|
1650
|
+
|
|
1651
|
+
<div class="section"><h3>Example<a name="Example"></a></h3>
|
|
1652
|
+
<p>
|
|
1653
|
+
To configure the check:
|
|
1654
|
+
</p>
|
|
1655
|
+
<div class="source"><pre>
|
|
1656
|
+
<module name="NoFinalizer"/>
|
|
1657
|
+
</pre></div>
|
|
1658
|
+
</div>
|
|
1659
|
+
|
|
1660
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1661
|
+
<p>
|
|
1662
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1663
|
+
</p>
|
|
1664
|
+
</div>
|
|
1665
|
+
|
|
1666
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1667
|
+
<p>
|
|
1668
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1669
|
+
</p>
|
|
1670
|
+
</div>
|
|
1671
|
+
</div>
|
|
1672
|
+
|
|
1673
|
+
<div class="section"><h2>SuperClone<a name="SuperClone"></a></h2>
|
|
1674
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1675
|
+
<p>
|
|
1676
|
+
Checks that an overriding <tt>clone()</tt> method
|
|
1677
|
+
invokes <tt>super.clone()</tt>.
|
|
1678
|
+
</p>
|
|
1679
|
+
|
|
1680
|
+
<p>
|
|
1681
|
+
Reference: <a class="externalLink" href="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()">Object.clone()</a>.
|
|
1682
|
+
</p>
|
|
1683
|
+
</div>
|
|
1684
|
+
|
|
1685
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1686
|
+
<p>
|
|
1687
|
+
To configure the check:
|
|
1688
|
+
</p>
|
|
1689
|
+
<div class="source"><pre>
|
|
1690
|
+
<module name="SuperClone"/>
|
|
1691
|
+
</pre></div>
|
|
1692
|
+
</div>
|
|
1693
|
+
|
|
1694
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1695
|
+
<p>
|
|
1696
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1697
|
+
</p>
|
|
1698
|
+
</div>
|
|
1699
|
+
|
|
1700
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1701
|
+
<p>
|
|
1702
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1703
|
+
</p>
|
|
1704
|
+
</div>
|
|
1705
|
+
</div>
|
|
1706
|
+
|
|
1707
|
+
<div class="section"><h2>SuperFinalize<a name="SuperFinalize"></a></h2>
|
|
1708
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1709
|
+
<p>
|
|
1710
|
+
Checks that an overriding <tt>finalize()</tt>
|
|
1711
|
+
method invokes <tt>super.finalize()</tt>.
|
|
1712
|
+
</p>
|
|
1713
|
+
|
|
1714
|
+
<p>
|
|
1715
|
+
Reference: <a class="externalLink" href="http://java.sun.com/docs/books/tutorial/java/data/garbagecollection.html">Cleaning
|
|
1716
|
+
Up Unused Objects</a>.
|
|
1717
|
+
</p>
|
|
1718
|
+
</div>
|
|
1719
|
+
|
|
1720
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1721
|
+
<p>
|
|
1722
|
+
To configure the check:
|
|
1723
|
+
</p>
|
|
1724
|
+
<div class="source"><pre>
|
|
1725
|
+
<module name="SuperFinalize"/>
|
|
1726
|
+
</pre></div>
|
|
1727
|
+
</div>
|
|
1728
|
+
|
|
1729
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1730
|
+
<p>
|
|
1731
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1732
|
+
</p>
|
|
1733
|
+
</div>
|
|
1734
|
+
|
|
1735
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1736
|
+
<p>
|
|
1737
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1738
|
+
</p>
|
|
1739
|
+
</div>
|
|
1740
|
+
</div>
|
|
1741
|
+
|
|
1742
|
+
<div class="section"><h2>IllegalCatch<a name="IllegalCatch"></a></h2>
|
|
1743
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1744
|
+
<p>
|
|
1745
|
+
Catching java.lang.Exception, java.lang.Error or
|
|
1746
|
+
java.lang.RuntimeException is almost never acceptable.
|
|
1747
|
+
</p>
|
|
1748
|
+
|
|
1749
|
+
<p>
|
|
1750
|
+
Rationale: Junior developers often simply catch Exception in an
|
|
1751
|
+
attempt to handle multiple exception classes. This unfortunately
|
|
1752
|
+
leads to code that inadvertantly catchs NPE, OutOfMemoryErrors, etc.
|
|
1753
|
+
</p>
|
|
1754
|
+
</div>
|
|
1755
|
+
|
|
1756
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1757
|
+
<table border="0" class="bodyTable">
|
|
1758
|
+
<tr class="a">
|
|
1759
|
+
<th>name</th>
|
|
1760
|
+
<th>description</th>
|
|
1761
|
+
<th>type</th>
|
|
1762
|
+
<th>default value</th>
|
|
1763
|
+
</tr>
|
|
1764
|
+
<tr class="b">
|
|
1765
|
+
<td>illegalClassNames</td>
|
|
1766
|
+
<td>exception class names to reject</td>
|
|
1767
|
+
<td><a href="property_types.html#stringSet">list of strings</a></td>
|
|
1768
|
+
<td><tt>"java.lang.Exception,
|
|
1769
|
+
java.lang.Throwable, java.lang.RuntimeException"</tt></td>
|
|
1770
|
+
</tr>
|
|
1771
|
+
</table>
|
|
1772
|
+
</div>
|
|
1773
|
+
|
|
1774
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1775
|
+
<p>
|
|
1776
|
+
To configure the check:
|
|
1777
|
+
</p>
|
|
1778
|
+
<div class="source"><pre>
|
|
1779
|
+
<module name="IllegalCatch"/>
|
|
1780
|
+
</pre></div>
|
|
1781
|
+
</div>
|
|
1782
|
+
|
|
1783
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1784
|
+
<p>
|
|
1785
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1786
|
+
</p>
|
|
1787
|
+
</div>
|
|
1788
|
+
|
|
1789
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1790
|
+
<p>
|
|
1791
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1792
|
+
</p>
|
|
1793
|
+
</div>
|
|
1794
|
+
</div>
|
|
1795
|
+
|
|
1796
|
+
<div class="section"><h2>IllegalThrows<a name="IllegalThrows"></a></h2>
|
|
1797
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1798
|
+
<p>
|
|
1799
|
+
This check can be used to ensure that types are not declared
|
|
1800
|
+
to be thrown. Declaring to throw java.lang.Error or
|
|
1801
|
+
java.lang.RuntimeException is almost never acceptable.
|
|
1802
|
+
</p>
|
|
1803
|
+
</div>
|
|
1804
|
+
|
|
1805
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1806
|
+
<table border="0" class="bodyTable">
|
|
1807
|
+
<tr class="a">
|
|
1808
|
+
<th>name</th>
|
|
1809
|
+
<th>description</th>
|
|
1810
|
+
<th>type</th>
|
|
1811
|
+
<th>default value</th>
|
|
1812
|
+
</tr>
|
|
1813
|
+
<tr class="b">
|
|
1814
|
+
<td>illegalClassNames</td>
|
|
1815
|
+
<td>throw class names to reject</td>
|
|
1816
|
+
<td><a href="property_types.html#stringSet">list of strings</a></td>
|
|
1817
|
+
<td>
|
|
1818
|
+
<tt>"java.lang.Throwable,
|
|
1819
|
+
java.lang.Error, java.lang.RuntimeException"</tt>
|
|
1820
|
+
</td>
|
|
1821
|
+
</tr>
|
|
1822
|
+
<tr class="a">
|
|
1823
|
+
<td>ignoredMethodNames</td>
|
|
1824
|
+
<td>names of methods to ignore</td>
|
|
1825
|
+
<td><a href="property_types.html#stringSet">list of strings</a></td>
|
|
1826
|
+
<td><tt>finalize</tt></td>
|
|
1827
|
+
</tr>
|
|
1828
|
+
</table>
|
|
1829
|
+
</div>
|
|
1830
|
+
|
|
1831
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1832
|
+
<p>
|
|
1833
|
+
To configure the check:
|
|
1834
|
+
</p>
|
|
1835
|
+
<div class="source"><pre>
|
|
1836
|
+
<module name="IllegalThrows"/>
|
|
1837
|
+
</pre></div>
|
|
1838
|
+
</div>
|
|
1839
|
+
|
|
1840
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1841
|
+
<p>
|
|
1842
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1843
|
+
</p>
|
|
1844
|
+
</div>
|
|
1845
|
+
|
|
1846
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1847
|
+
<p>
|
|
1848
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1849
|
+
</p>
|
|
1850
|
+
</div>
|
|
1851
|
+
</div>
|
|
1852
|
+
|
|
1853
|
+
<div class="section"><h2>PackageDeclaration<a name="PackageDeclaration"></a></h2>
|
|
1854
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1855
|
+
<p>
|
|
1856
|
+
Ensure a class is has a package declaration, and (optionally) whether
|
|
1857
|
+
the package name matches the directory name for the source file.
|
|
1858
|
+
</p>
|
|
1859
|
+
|
|
1860
|
+
<p>
|
|
1861
|
+
Rationale: Classes that live in the null package cannot be
|
|
1862
|
+
imported. Many novice developers are not aware of this.
|
|
1863
|
+
</p>
|
|
1864
|
+
</div>
|
|
1865
|
+
|
|
1866
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1867
|
+
<table border="0" class="bodyTable">
|
|
1868
|
+
<tr class="a">
|
|
1869
|
+
<th>name</th>
|
|
1870
|
+
<th>description</th>
|
|
1871
|
+
<th>type</th>
|
|
1872
|
+
<th>default value</th>
|
|
1873
|
+
</tr>
|
|
1874
|
+
<tr class="b">
|
|
1875
|
+
<td>ignoreDirectoryName</td>
|
|
1876
|
+
<td>
|
|
1877
|
+
whether to ignore checking that the package declaration matches
|
|
1878
|
+
the source directory name
|
|
1879
|
+
</td>
|
|
1880
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
1881
|
+
<td><tt>false</tt></td>
|
|
1882
|
+
</tr>
|
|
1883
|
+
</table>
|
|
1884
|
+
</div>
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1888
|
+
<p>
|
|
1889
|
+
To configure the check:
|
|
1890
|
+
</p>
|
|
1891
|
+
<div class="source"><pre>
|
|
1892
|
+
<module name="PackageDeclaration"/>
|
|
1893
|
+
</pre></div>
|
|
1894
|
+
</div>
|
|
1895
|
+
|
|
1896
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1897
|
+
<p>
|
|
1898
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1899
|
+
</p>
|
|
1900
|
+
</div>
|
|
1901
|
+
|
|
1902
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1903
|
+
<p>
|
|
1904
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1905
|
+
</p>
|
|
1906
|
+
</div>
|
|
1907
|
+
</div>
|
|
1908
|
+
|
|
1909
|
+
<div class="section"><h2>JUnitTestCase<a name="JUnitTestCase"></a></h2>
|
|
1910
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1911
|
+
<p>
|
|
1912
|
+
Ensures that the setUp(), tearDown()methods are named correctly,
|
|
1913
|
+
have no arguments, return void and are either public or
|
|
1914
|
+
protected.
|
|
1915
|
+
</p>
|
|
1916
|
+
|
|
1917
|
+
<p>
|
|
1918
|
+
Also ensures that suite() is named correctly, have no arguments,
|
|
1919
|
+
return junit.framewotk.Test, public and static.
|
|
1920
|
+
</p>
|
|
1921
|
+
|
|
1922
|
+
<p>
|
|
1923
|
+
Rationale: often times developers will misname one or more of these
|
|
1924
|
+
methods and not realise that the method is not being called.
|
|
1925
|
+
</p>
|
|
1926
|
+
</div>
|
|
1927
|
+
|
|
1928
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1929
|
+
<p>
|
|
1930
|
+
To configure the check:
|
|
1931
|
+
</p>
|
|
1932
|
+
<div class="source"><pre>
|
|
1933
|
+
<module name="JUnitTestCase"/>
|
|
1934
|
+
</pre></div>
|
|
1935
|
+
</div>
|
|
1936
|
+
|
|
1937
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
1938
|
+
<p>
|
|
1939
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
1940
|
+
</p>
|
|
1941
|
+
</div>
|
|
1942
|
+
|
|
1943
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
1944
|
+
<p>
|
|
1945
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
1946
|
+
</p>
|
|
1947
|
+
</div>
|
|
1948
|
+
</div>
|
|
1949
|
+
|
|
1950
|
+
<div class="section"><h2>ReturnCount<a name="ReturnCount"></a></h2>
|
|
1951
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
1952
|
+
<p>
|
|
1953
|
+
Restricts the number of return statements. Default = 2. Ignores
|
|
1954
|
+
specified methods (<tt>equals()</tt> by default).
|
|
1955
|
+
</p>
|
|
1956
|
+
|
|
1957
|
+
<p>
|
|
1958
|
+
Rationale: Too many return points can be indication that code is
|
|
1959
|
+
attempting to do too much or may be difficult to understand.
|
|
1960
|
+
</p>
|
|
1961
|
+
</div>
|
|
1962
|
+
|
|
1963
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
1964
|
+
<table border="0" class="bodyTable">
|
|
1965
|
+
<tr class="a">
|
|
1966
|
+
<th>name</th>
|
|
1967
|
+
<th>description</th>
|
|
1968
|
+
<th>type</th>
|
|
1969
|
+
<th>default value</th>
|
|
1970
|
+
</tr>
|
|
1971
|
+
<tr class="b">
|
|
1972
|
+
<td>max</td>
|
|
1973
|
+
<td>maximum allowed number of return statments</td>
|
|
1974
|
+
<td><a href="property_types.html#integer">Integer</a></td>
|
|
1975
|
+
<td><tt>2</tt></td>
|
|
1976
|
+
</tr>
|
|
1977
|
+
<tr class="a">
|
|
1978
|
+
<td>format</td>
|
|
1979
|
+
<td>method names to ingone</td>
|
|
1980
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
1981
|
+
<td><tt>^equals$</tt> (empty)</td>
|
|
1982
|
+
</tr>
|
|
1983
|
+
</table>
|
|
1984
|
+
</div>
|
|
1985
|
+
|
|
1986
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
1987
|
+
<p>
|
|
1988
|
+
To configure the check so that it doesn't allow more than three
|
|
1989
|
+
return statements per method (<tt>equals()</tt>
|
|
1990
|
+
method ignored):
|
|
1991
|
+
</p>
|
|
1992
|
+
<div class="source"><pre>
|
|
1993
|
+
<module name="ReturnCount">
|
|
1994
|
+
<property name="max" value="3"/>
|
|
1995
|
+
</module>
|
|
1996
|
+
</pre></div>
|
|
1997
|
+
|
|
1998
|
+
<p>
|
|
1999
|
+
To configure the check so that it doesn't allow more than three
|
|
2000
|
+
return statements per method for all methods:
|
|
2001
|
+
</p>
|
|
2002
|
+
<div class="source"><pre>
|
|
2003
|
+
<module name="ReturnCount">
|
|
2004
|
+
<property name="max" value="3"/>
|
|
2005
|
+
<property name="format" value="^$"/>
|
|
2006
|
+
</module>
|
|
2007
|
+
</pre></div>
|
|
2008
|
+
</div>
|
|
2009
|
+
|
|
2010
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2011
|
+
<p>
|
|
2012
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2013
|
+
</p>
|
|
2014
|
+
</div>
|
|
2015
|
+
|
|
2016
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2017
|
+
<p>
|
|
2018
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2019
|
+
</p>
|
|
2020
|
+
</div>
|
|
2021
|
+
</div>
|
|
2022
|
+
|
|
2023
|
+
<div class="section"><h2>IllegalType<a name="IllegalType"></a></h2>
|
|
2024
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2025
|
+
<p>
|
|
2026
|
+
Checks that particular class are never used as types in variable
|
|
2027
|
+
declarations, return values or parameters. Includes a pattern check
|
|
2028
|
+
that by default disallows abstract classes.
|
|
2029
|
+
</p>
|
|
2030
|
+
|
|
2031
|
+
<p>
|
|
2032
|
+
Rationale: Helps reduce coupling on concrete classes. In addition
|
|
2033
|
+
abstract classes should be thought of a convenience base class
|
|
2034
|
+
implementations of interfaces and as such are not types themselves.
|
|
2035
|
+
</p>
|
|
2036
|
+
</div>
|
|
2037
|
+
|
|
2038
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
2039
|
+
<table border="0" class="bodyTable">
|
|
2040
|
+
<tr class="a">
|
|
2041
|
+
<th>name</th>
|
|
2042
|
+
<th>description</th>
|
|
2043
|
+
<th>type</th>
|
|
2044
|
+
<th>default value</th>
|
|
2045
|
+
</tr>
|
|
2046
|
+
<tr class="b">
|
|
2047
|
+
<td>tokens</td>
|
|
2048
|
+
<td>tokens to check</td>
|
|
2049
|
+
<td>
|
|
2050
|
+
subset of tokens <a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETER_DEF">PARAMETER_DEF</a>,
|
|
2051
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
2052
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#METHOD_DEF">METHOD_DEF</a>
|
|
2053
|
+
</td>
|
|
2054
|
+
|
|
2055
|
+
<td>
|
|
2056
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#PARAMETER_DEF">PARAMETER_DEF</a>,
|
|
2057
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#VARIABLE_DEF">VARIABLE_DEF</a>
|
|
2058
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html#METHOD_DEF">METHOD_DEF</a>
|
|
2059
|
+
</td>
|
|
2060
|
+
</tr>
|
|
2061
|
+
<tr class="a">
|
|
2062
|
+
<td>illegalClassNames</td>
|
|
2063
|
+
<td>classes that should not be used as types in variable
|
|
2064
|
+
declarations, return values or parameters. </td>
|
|
2065
|
+
<td><a href="property_types.html#stringSet">String Set</a></td>
|
|
2066
|
+
<td>"java.util.GregorianCalendar, java.util.Hashtable,
|
|
2067
|
+
java.util.HashSet, java.util.HashMap, java.util.ArrayList,
|
|
2068
|
+
java.util.LinkedList, java.util.LinkedHashMap,
|
|
2069
|
+
java.util.LinkedHashSet, java.util.TreeSet,
|
|
2070
|
+
java.util.TreeMap, java.util.Vector"</td>
|
|
2071
|
+
</tr>
|
|
2072
|
+
<tr class="b">
|
|
2073
|
+
<td>legalAbstractClassNames</td>
|
|
2074
|
+
<td>abstract classes that may be used as types. </td>
|
|
2075
|
+
<td><a href="property_types.html#stringSet">String Set</a></td>
|
|
2076
|
+
<td></td>
|
|
2077
|
+
</tr>
|
|
2078
|
+
<tr class="a">
|
|
2079
|
+
<td>ignoredMethodNames</td>
|
|
2080
|
+
<td>methods that should not be checked</td>
|
|
2081
|
+
<td><a href="property_types.html#stringSet">String Set</a></td>
|
|
2082
|
+
<td>"getInitialContext, getEnvironment" </td>
|
|
2083
|
+
</tr>
|
|
2084
|
+
<tr class="b">
|
|
2085
|
+
<td>format</td>
|
|
2086
|
+
<td>pattern for illegal class name</td>
|
|
2087
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
2088
|
+
<td><tt>^(.*[\\.])?Abstract.*$</tt></td>
|
|
2089
|
+
</tr>
|
|
2090
|
+
</table>
|
|
2091
|
+
</div>
|
|
2092
|
+
|
|
2093
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2094
|
+
<p>
|
|
2095
|
+
To configure the check so that it ignore getInstance() method:
|
|
2096
|
+
</p>
|
|
2097
|
+
<div class="source"><pre>
|
|
2098
|
+
<module name="IllegalType">
|
|
2099
|
+
<property name="ignoredMethodNames" value="getInstance"/>
|
|
2100
|
+
</module>
|
|
2101
|
+
</pre></div>
|
|
2102
|
+
</div>
|
|
2103
|
+
|
|
2104
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2105
|
+
<p>
|
|
2106
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2107
|
+
</p>
|
|
2108
|
+
</div>
|
|
2109
|
+
|
|
2110
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2111
|
+
<p>
|
|
2112
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2113
|
+
</p>
|
|
2114
|
+
</div>
|
|
2115
|
+
</div>
|
|
2116
|
+
|
|
2117
|
+
<div class="section"><h2>DeclarationOrder<a name="DeclarationOrder"></a></h2>
|
|
2118
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2119
|
+
<p>
|
|
2120
|
+
According to <a class="externalLink" href="http://java.sun.com/docs/codeconv/html/CodeConventions.doc2.html#1852">
|
|
2121
|
+
Code Conventions for the Java Programming Language</a> , the parts
|
|
2122
|
+
of a class or interface declaration should appear in the following
|
|
2123
|
+
order:
|
|
2124
|
+
</p>
|
|
2125
|
+
|
|
2126
|
+
<ol style="list-style-type: decimal">
|
|
2127
|
+
<li>
|
|
2128
|
+
Class (static) variables. First the public class variables, then
|
|
2129
|
+
the protected, then package level (no access modifier), and then
|
|
2130
|
+
the private.
|
|
2131
|
+
</li>
|
|
2132
|
+
<li>
|
|
2133
|
+
Instance variables. First the public class variables, then the
|
|
2134
|
+
protected, then package level (no access modifier), and then the
|
|
2135
|
+
private.
|
|
2136
|
+
</li>
|
|
2137
|
+
<li> Constructors </li>
|
|
2138
|
+
<li> Methods </li>
|
|
2139
|
+
</ol>
|
|
2140
|
+
</div>
|
|
2141
|
+
|
|
2142
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
2143
|
+
<table border="0" class="bodyTable">
|
|
2144
|
+
<tr class="a">
|
|
2145
|
+
<th>name</th>
|
|
2146
|
+
<th>description</th>
|
|
2147
|
+
<th>type</th>
|
|
2148
|
+
<th>default value</th>
|
|
2149
|
+
</tr>
|
|
2150
|
+
<tr class="b">
|
|
2151
|
+
<td>ignoreConstructors</td>
|
|
2152
|
+
<td>whether to ignore constructors</td>
|
|
2153
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
2154
|
+
<td><tt>false</tt></td>
|
|
2155
|
+
</tr>
|
|
2156
|
+
<tr class="a">
|
|
2157
|
+
<td>ignoreMethods</td>
|
|
2158
|
+
<td>whether to ignore methods</td>
|
|
2159
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
2160
|
+
<td><tt>false</tt></td>
|
|
2161
|
+
</tr>
|
|
2162
|
+
<tr class="b">
|
|
2163
|
+
<td>ignoreModifiers</td>
|
|
2164
|
+
<td>whether to ignore modifiers</td>
|
|
2165
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
2166
|
+
<td><tt>false</tt></td>
|
|
2167
|
+
</tr>
|
|
2168
|
+
</table>
|
|
2169
|
+
</div>
|
|
2170
|
+
|
|
2171
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2172
|
+
<p>
|
|
2173
|
+
To configure the check:
|
|
2174
|
+
</p>
|
|
2175
|
+
<div class="source"><pre>
|
|
2176
|
+
<module name="DeclarationOrder"/>
|
|
2177
|
+
</pre></div>
|
|
2178
|
+
</div>
|
|
2179
|
+
|
|
2180
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2181
|
+
<p>
|
|
2182
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2183
|
+
</p>
|
|
2184
|
+
</div>
|
|
2185
|
+
|
|
2186
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2187
|
+
<p>
|
|
2188
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2189
|
+
</p>
|
|
2190
|
+
</div>
|
|
2191
|
+
</div>
|
|
2192
|
+
|
|
2193
|
+
<div class="section"><h2>ParameterAssignment<a name="ParameterAssignment"></a></h2>
|
|
2194
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2195
|
+
<p> Disallow assignment of parameters.</p>
|
|
2196
|
+
<p>
|
|
2197
|
+
Rationale: Parameter assignment is often considered poor programming
|
|
2198
|
+
practice. Forcing developers to declare parameters as final is often
|
|
2199
|
+
onerous. Having a check ensure that parameters are never assigned
|
|
2200
|
+
would give the best of both worlds.
|
|
2201
|
+
</p>
|
|
2202
|
+
</div>
|
|
2203
|
+
|
|
2204
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2205
|
+
<p>
|
|
2206
|
+
To configure the check:
|
|
2207
|
+
</p>
|
|
2208
|
+
<div class="source"><pre>
|
|
2209
|
+
<module name="ParameterAssignment"/>
|
|
2210
|
+
</pre></div>
|
|
2211
|
+
</div>
|
|
2212
|
+
|
|
2213
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2214
|
+
<p>
|
|
2215
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2216
|
+
</p>
|
|
2217
|
+
</div>
|
|
2218
|
+
|
|
2219
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2220
|
+
<p>
|
|
2221
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2222
|
+
</p>
|
|
2223
|
+
</div>
|
|
2224
|
+
</div>
|
|
2225
|
+
|
|
2226
|
+
<div class="section"><h2>ExplicitInitialization<a name="ExplicitInitialization"></a></h2>
|
|
2227
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2228
|
+
<p>
|
|
2229
|
+
Checks if any class or object member explicitly initialized to
|
|
2230
|
+
default for its type value (<tt>null</tt> for
|
|
2231
|
+
object references, zero for numeric types and <tt>char</tt> and <tt>false</tt> for
|
|
2232
|
+
<tt>boolean</tt>.
|
|
2233
|
+
</p>
|
|
2234
|
+
|
|
2235
|
+
<p>
|
|
2236
|
+
Rationale: each instance variable gets initialized twice, to the
|
|
2237
|
+
same value. Java initializes each instance variable to its default
|
|
2238
|
+
value (0 or null) before performing any initialization specified in
|
|
2239
|
+
the code. So in this case, x gets initialized to 0 twice, and bar
|
|
2240
|
+
gets initialized to null twice. So there is a minor inefficiency.
|
|
2241
|
+
This style of coding is a hold-over from C/C++ style coding, and it
|
|
2242
|
+
shows that the developer isn't really confident that Java really
|
|
2243
|
+
initializes instance variables to default values.
|
|
2244
|
+
</p>
|
|
2245
|
+
</div>
|
|
2246
|
+
|
|
2247
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2248
|
+
<p>
|
|
2249
|
+
To configure the check:
|
|
2250
|
+
</p>
|
|
2251
|
+
<div class="source"><pre>
|
|
2252
|
+
<module name="ExplicitInitialization"/>
|
|
2253
|
+
</pre></div>
|
|
2254
|
+
</div>
|
|
2255
|
+
|
|
2256
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2257
|
+
<p>
|
|
2258
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2259
|
+
</p>
|
|
2260
|
+
</div>
|
|
2261
|
+
|
|
2262
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2263
|
+
<p>
|
|
2264
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2265
|
+
</p>
|
|
2266
|
+
</div>
|
|
2267
|
+
</div>
|
|
2268
|
+
|
|
2269
|
+
<div class="section"><h2>DefaultComesLast<a name="DefaultComesLast"></a></h2>
|
|
2270
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2271
|
+
<p>
|
|
2272
|
+
Check that the <tt>default</tt> is after all the
|
|
2273
|
+
<tt>case</tt>s in a <tt>switch</tt> statement.
|
|
2274
|
+
</p>
|
|
2275
|
+
|
|
2276
|
+
<p>
|
|
2277
|
+
Rationale: Java allows <tt>default</tt> anywhere
|
|
2278
|
+
within the <tt>switch</tt> statement. But it is
|
|
2279
|
+
more readable if it comes after the last <tt>case</tt>.
|
|
2280
|
+
</p>
|
|
2281
|
+
</div>
|
|
2282
|
+
|
|
2283
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2284
|
+
<p>
|
|
2285
|
+
To configure the check:
|
|
2286
|
+
</p>
|
|
2287
|
+
<div class="source"><pre>
|
|
2288
|
+
<module name="DefaultComesLast"/>
|
|
2289
|
+
</pre></div>
|
|
2290
|
+
</div>
|
|
2291
|
+
|
|
2292
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2293
|
+
<p>
|
|
2294
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2295
|
+
</p>
|
|
2296
|
+
</div>
|
|
2297
|
+
|
|
2298
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2299
|
+
<p>
|
|
2300
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2301
|
+
</p>
|
|
2302
|
+
</div>
|
|
2303
|
+
</div>
|
|
2304
|
+
|
|
2305
|
+
<div class="section"><h2>MissingCtor<a name="MissingCtor"></a></h2>
|
|
2306
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2307
|
+
<p>
|
|
2308
|
+
Checks that classes (except abtract one) define a ctor and don't
|
|
2309
|
+
rely on the default one.
|
|
2310
|
+
</p>
|
|
2311
|
+
</div>
|
|
2312
|
+
|
|
2313
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2314
|
+
<p>
|
|
2315
|
+
To configure the check:
|
|
2316
|
+
</p>
|
|
2317
|
+
<div class="source"><pre>
|
|
2318
|
+
<module name="MissingCtor"/>
|
|
2319
|
+
</pre></div>
|
|
2320
|
+
</div>
|
|
2321
|
+
|
|
2322
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2323
|
+
<p>
|
|
2324
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2325
|
+
</p>
|
|
2326
|
+
</div>
|
|
2327
|
+
|
|
2328
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2329
|
+
<p>
|
|
2330
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2331
|
+
</p>
|
|
2332
|
+
</div>
|
|
2333
|
+
</div>
|
|
2334
|
+
|
|
2335
|
+
<div class="section"><h2>FallThrough<a name="FallThrough"></a></h2>
|
|
2336
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2337
|
+
<p>
|
|
2338
|
+
Checks for fall through in <tt>switch</tt>
|
|
2339
|
+
statements Finds locations where a <tt>case</tt>
|
|
2340
|
+
contains Java code - but lacks a <tt>break</tt>, <tt>return</tt>, <tt>throw</tt> or <tt>continue</tt>
|
|
2341
|
+
statement.
|
|
2342
|
+
</p>
|
|
2343
|
+
<p>
|
|
2344
|
+
The check honores special comments to supress the warning. By
|
|
2345
|
+
default the text "fallthru", "fall through", "fallthrough",
|
|
2346
|
+
"falls through" and "fallsthrough" are recognized (case
|
|
2347
|
+
sensitive). The comment containing this words must be a
|
|
2348
|
+
one-liner and must be on the last none-empty line before the
|
|
2349
|
+
<tt>case</tt> triggering the warning or on
|
|
2350
|
+
the same line before the <tt>case</tt>
|
|
2351
|
+
(urgly, but possible).
|
|
2352
|
+
</p>
|
|
2353
|
+
<div class="source"><pre>
|
|
2354
|
+
switch (i){
|
|
2355
|
+
case 0:
|
|
2356
|
+
i++; // fall through
|
|
2357
|
+
|
|
2358
|
+
case 1:
|
|
2359
|
+
i++;
|
|
2360
|
+
// falls through
|
|
2361
|
+
case 2: {
|
|
2362
|
+
i++;
|
|
2363
|
+
}
|
|
2364
|
+
// fallthrough
|
|
2365
|
+
case 3:
|
|
2366
|
+
i++;
|
|
2367
|
+
/* fallthru */case 4:
|
|
2368
|
+
i++
|
|
2369
|
+
break;
|
|
2370
|
+
}
|
|
2371
|
+
</pre></div>
|
|
2372
|
+
<p>
|
|
2373
|
+
Note: the check works in assumption that there is no unreachable
|
|
2374
|
+
code in the <tt>case</tt>.
|
|
2375
|
+
</p>
|
|
2376
|
+
</div>
|
|
2377
|
+
|
|
2378
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
2379
|
+
<table border="0" class="bodyTable">
|
|
2380
|
+
<tr class="a">
|
|
2381
|
+
<th>name</th>
|
|
2382
|
+
<th>description</th>
|
|
2383
|
+
<th>type</th>
|
|
2384
|
+
<th>default value</th>
|
|
2385
|
+
</tr>
|
|
2386
|
+
<tr class="b">
|
|
2387
|
+
<td>checkLastCaseGroup</td>
|
|
2388
|
+
<td>
|
|
2389
|
+
Whether we need to check last case group or not.
|
|
2390
|
+
</td>
|
|
2391
|
+
<td><a href="property_types.html#boolean">Boolean</a></td>
|
|
2392
|
+
<td><tt>false</tt></td>
|
|
2393
|
+
</tr>
|
|
2394
|
+
<tr class="a">
|
|
2395
|
+
<td>reliefPattern</td>
|
|
2396
|
+
<td>
|
|
2397
|
+
Regulare expression to match the relief comment that supresses
|
|
2398
|
+
the warning about a fall through.
|
|
2399
|
+
</td>
|
|
2400
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
2401
|
+
<td><tt>fallthru|falls? ?through</tt></td>
|
|
2402
|
+
</tr>
|
|
2403
|
+
</table>
|
|
2404
|
+
</div>
|
|
2405
|
+
|
|
2406
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2407
|
+
<p>
|
|
2408
|
+
To configure the check:
|
|
2409
|
+
</p>
|
|
2410
|
+
<div class="source"><pre>
|
|
2411
|
+
<module name="FallThrough"/>
|
|
2412
|
+
</pre></div>
|
|
2413
|
+
<p>
|
|
2414
|
+
or
|
|
2415
|
+
</p>
|
|
2416
|
+
<div class="source"><pre>
|
|
2417
|
+
<module name="FallThrough">
|
|
2418
|
+
<property name="reliefPattern" value="continue in next case"/>
|
|
2419
|
+
<module name="FallThrough"/>
|
|
2420
|
+
</pre></div>
|
|
2421
|
+
</div>
|
|
2422
|
+
|
|
2423
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2424
|
+
<p>
|
|
2425
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2426
|
+
</p>
|
|
2427
|
+
</div>
|
|
2428
|
+
|
|
2429
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2430
|
+
<p>
|
|
2431
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2432
|
+
</p>
|
|
2433
|
+
</div>
|
|
2434
|
+
</div>
|
|
2435
|
+
|
|
2436
|
+
<div class="section"><h2>MultipleStringLiterals<a name="MultipleStringLiterals"></a></h2>
|
|
2437
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2438
|
+
<p>
|
|
2439
|
+
Checks for multiple occurrences of the same string literal within a
|
|
2440
|
+
single file.
|
|
2441
|
+
</p>
|
|
2442
|
+
|
|
2443
|
+
<p>
|
|
2444
|
+
Rationale: Code duplication makes maintenance more difficult, so it
|
|
2445
|
+
can be better to replace the multiple occurrences with a constant.
|
|
2446
|
+
</p>
|
|
2447
|
+
</div>
|
|
2448
|
+
|
|
2449
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
2450
|
+
<table border="0" class="bodyTable">
|
|
2451
|
+
<tr class="a">
|
|
2452
|
+
<th>name</th>
|
|
2453
|
+
<th>description</th>
|
|
2454
|
+
<th>type</th>
|
|
2455
|
+
<th>default value</th>
|
|
2456
|
+
</tr>
|
|
2457
|
+
<tr class="b">
|
|
2458
|
+
<td>allowedDuplicates</td>
|
|
2459
|
+
<td>
|
|
2460
|
+
The maximum number of occurences to allow without generating a
|
|
2461
|
+
warning
|
|
2462
|
+
</td>
|
|
2463
|
+
<td><a href="property_types.html#integer">Integer</a></td>
|
|
2464
|
+
<td>1</td>
|
|
2465
|
+
</tr>
|
|
2466
|
+
<tr class="a">
|
|
2467
|
+
<td>ignoreStringsRegexp</td>
|
|
2468
|
+
<td>
|
|
2469
|
+
regexp pattern for ignored strings (with quotation marks)
|
|
2470
|
+
</td>
|
|
2471
|
+
<td><a href="property_types.html#regexp">regular expression</a></td>
|
|
2472
|
+
<td><tt>^""$</tt> (ignore empty strings)</td>
|
|
2473
|
+
</tr>
|
|
2474
|
+
<tr class="b">
|
|
2475
|
+
<td>ignoreOccurrenceContext</td>
|
|
2476
|
+
<td>
|
|
2477
|
+
Token type names where duplicate strings are ignored even if they don't match
|
|
2478
|
+
ignoredStringsRegexp. This allows you to exclude syntactical contexts like
|
|
2479
|
+
Annotations or static initializers from the check.
|
|
2480
|
+
</td>
|
|
2481
|
+
<td>
|
|
2482
|
+
<a href="property_types.html#stringSet">list</a> of
|
|
2483
|
+
<a href="apidocs/com/puppycrawl/tools/checkstyle/api/TokenTypes.html">token type</a>
|
|
2484
|
+
names
|
|
2485
|
+
</td>
|
|
2486
|
+
<td>
|
|
2487
|
+
<tt>ANNOTATION</tt>
|
|
2488
|
+
(ignore strings inside the context of an annotation)
|
|
2489
|
+
</td>
|
|
2490
|
+
</tr>
|
|
2491
|
+
</table>
|
|
2492
|
+
</div>
|
|
2493
|
+
|
|
2494
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2495
|
+
<p>
|
|
2496
|
+
To configure the check:
|
|
2497
|
+
</p>
|
|
2498
|
+
<div class="source"><pre>
|
|
2499
|
+
<module name="MultipleStringLiterals"/>
|
|
2500
|
+
</pre></div>
|
|
2501
|
+
|
|
2502
|
+
<p>
|
|
2503
|
+
To configure the check so that it allows two occurrences of each
|
|
2504
|
+
string:
|
|
2505
|
+
</p>
|
|
2506
|
+
<div class="source"><pre>
|
|
2507
|
+
<module name="MultipleStringLiterals">
|
|
2508
|
+
<property name="allowedDuplicates" value="2"/>
|
|
2509
|
+
</module>
|
|
2510
|
+
</pre></div>
|
|
2511
|
+
|
|
2512
|
+
<p>
|
|
2513
|
+
To configure the check so that it ignores ", " and empty strings:
|
|
2514
|
+
</p>
|
|
2515
|
+
<div class="source"><pre>
|
|
2516
|
+
<module name="MultipleStringLiterals">
|
|
2517
|
+
<property name="ignoreStringsRegexp" value='^(("")|(", "))$'/>
|
|
2518
|
+
</module>
|
|
2519
|
+
</pre></div>
|
|
2520
|
+
|
|
2521
|
+
<p>
|
|
2522
|
+
To configure the check so that it flags duplicate strings in all
|
|
2523
|
+
syntactical contexts, even in annotations like
|
|
2524
|
+
<tt>@SuppressWarnings("unchecked")</tt>:
|
|
2525
|
+
</p>
|
|
2526
|
+
<div class="source"><pre>
|
|
2527
|
+
<module name="MultipleStringLiterals">
|
|
2528
|
+
<property name="ignoreOccurrenceContext" value=""/>
|
|
2529
|
+
</module>
|
|
2530
|
+
</pre></div>
|
|
2531
|
+
</div>
|
|
2532
|
+
|
|
2533
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2534
|
+
<p>
|
|
2535
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2536
|
+
</p>
|
|
2537
|
+
</div>
|
|
2538
|
+
|
|
2539
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2540
|
+
<p>
|
|
2541
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2542
|
+
</p>
|
|
2543
|
+
</div>
|
|
2544
|
+
</div>
|
|
2545
|
+
|
|
2546
|
+
<div class="section"><h2>MultipleVariableDeclarations<a name="MultipleVariableDeclarations"></a></h2>
|
|
2547
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2548
|
+
<p>
|
|
2549
|
+
Checks that each variable declaration is in its own statement and on
|
|
2550
|
+
its own line.
|
|
2551
|
+
</p>
|
|
2552
|
+
|
|
2553
|
+
<p>
|
|
2554
|
+
Rationale: <a class="externalLink" href="http://java.sun.com/docs/codeconv/html/CodeConventions.doc5.html#2991">
|
|
2555
|
+
the SUN Code conventions chapter 6.1</a> recommends that
|
|
2556
|
+
declarations should be one per line/statement.
|
|
2557
|
+
</p>
|
|
2558
|
+
</div>
|
|
2559
|
+
|
|
2560
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2561
|
+
<p>
|
|
2562
|
+
To configure the check:
|
|
2563
|
+
</p>
|
|
2564
|
+
<div class="source"><pre>
|
|
2565
|
+
<module name="MultipleVariableDeclarations"/>
|
|
2566
|
+
</pre></div>
|
|
2567
|
+
</div>
|
|
2568
|
+
|
|
2569
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2570
|
+
<p>
|
|
2571
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2572
|
+
</p>
|
|
2573
|
+
</div>
|
|
2574
|
+
|
|
2575
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2576
|
+
<p>
|
|
2577
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2578
|
+
</p>
|
|
2579
|
+
</div>
|
|
2580
|
+
</div>
|
|
2581
|
+
|
|
2582
|
+
<div class="section"><h2>RequireThis<a name="RequireThis"></a></h2>
|
|
2583
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2584
|
+
<p>
|
|
2585
|
+
Checks that code doesn't rely on the "this." default,
|
|
2586
|
+
i.e. references to instance variables and methods of the present
|
|
2587
|
+
object are explicitly of the form "this.varName" or
|
|
2588
|
+
"this.methodName(args)".
|
|
2589
|
+
</p>
|
|
2590
|
+
</div>
|
|
2591
|
+
|
|
2592
|
+
<div class="section"><h3>Properties<a name="Properties"></a></h3>
|
|
2593
|
+
<table border="0" class="bodyTable">
|
|
2594
|
+
<tr class="a">
|
|
2595
|
+
<th>name</th>
|
|
2596
|
+
<th>description</th>
|
|
2597
|
+
<th>type</th>
|
|
2598
|
+
<th>default value</th>
|
|
2599
|
+
</tr>
|
|
2600
|
+
<tr class="b">
|
|
2601
|
+
<td>checkFields</td>
|
|
2602
|
+
<td>whether we should check fields usage or not</td>
|
|
2603
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
2604
|
+
<td><tt>true</tt></td>
|
|
2605
|
+
</tr>
|
|
2606
|
+
<tr class="a">
|
|
2607
|
+
<td>checkMethods</td>
|
|
2608
|
+
<td>whether we should check methods usage or not</td>
|
|
2609
|
+
<td><a href="property_types.html#boolean">boolean</a></td>
|
|
2610
|
+
<td><tt>true</tt></td>
|
|
2611
|
+
</tr>
|
|
2612
|
+
</table>
|
|
2613
|
+
</div>
|
|
2614
|
+
|
|
2615
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2616
|
+
<p>
|
|
2617
|
+
To configure the default check:
|
|
2618
|
+
</p>
|
|
2619
|
+
<div class="source"><pre>
|
|
2620
|
+
<module name="RequireThis"/>
|
|
2621
|
+
</pre></div>
|
|
2622
|
+
|
|
2623
|
+
<p>
|
|
2624
|
+
To configure to check <tt>this</tt> qualifier for fields only:
|
|
2625
|
+
</p>
|
|
2626
|
+
<div class="source"><pre>
|
|
2627
|
+
<module name="RequireThis">
|
|
2628
|
+
<property name="checkMethods" value="false"/>
|
|
2629
|
+
</module>
|
|
2630
|
+
</pre></div>
|
|
2631
|
+
</div>
|
|
2632
|
+
|
|
2633
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2634
|
+
<p>
|
|
2635
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2636
|
+
</p>
|
|
2637
|
+
</div>
|
|
2638
|
+
|
|
2639
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2640
|
+
<p>
|
|
2641
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2642
|
+
</p>
|
|
2643
|
+
</div>
|
|
2644
|
+
</div>
|
|
2645
|
+
|
|
2646
|
+
<div class="section"><h2>UnnecessaryParentheses<a name="UnnecessaryParentheses"></a></h2>
|
|
2647
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2648
|
+
<p>
|
|
2649
|
+
Checks for the use of unnecessary parentheses.
|
|
2650
|
+
</p>
|
|
2651
|
+
</div>
|
|
2652
|
+
|
|
2653
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2654
|
+
<p>
|
|
2655
|
+
To configure the check:
|
|
2656
|
+
</p>
|
|
2657
|
+
<div class="source"><pre>
|
|
2658
|
+
<module name="UnnecessaryParentheses"/>
|
|
2659
|
+
</pre></div>
|
|
2660
|
+
</div>
|
|
2661
|
+
|
|
2662
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2663
|
+
<p>
|
|
2664
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2665
|
+
</p>
|
|
2666
|
+
</div>
|
|
2667
|
+
|
|
2668
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2669
|
+
<p>
|
|
2670
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2671
|
+
</p>
|
|
2672
|
+
</div>
|
|
2673
|
+
</div>
|
|
2674
|
+
|
|
2675
|
+
<div class="section"><h2>OneStatementPerLine<a name="OneStatementPerLine"></a></h2>
|
|
2676
|
+
<div class="section"><h3>Description<a name="Description"></a></h3>
|
|
2677
|
+
<p>
|
|
2678
|
+
Checks there is only one statement per line. The following line
|
|
2679
|
+
will be flagged as an error:
|
|
2680
|
+
</p>
|
|
2681
|
+
|
|
2682
|
+
<div class="source"><pre> x = 1; y = 2; // Two statments on a single line.</pre></div>
|
|
2683
|
+
</div>
|
|
2684
|
+
|
|
2685
|
+
<div class="section"><h3>Examples<a name="Examples"></a></h3>
|
|
2686
|
+
<p>
|
|
2687
|
+
To configure the check:
|
|
2688
|
+
</p>
|
|
2689
|
+
<div class="source"><pre>
|
|
2690
|
+
<module name="OneStatementPerLine"/>
|
|
2691
|
+
</pre></div>
|
|
2692
|
+
</div>
|
|
2693
|
+
|
|
2694
|
+
<div class="section"><h3>Package<a name="Package"></a></h3>
|
|
2695
|
+
<p>
|
|
2696
|
+
com.puppycrawl.tools.checkstyle.checks.coding
|
|
2697
|
+
</p>
|
|
2698
|
+
</div>
|
|
2699
|
+
|
|
2700
|
+
<div class="section"><h3>Parent Module<a name="Parent_Module"></a></h3>
|
|
2701
|
+
<p>
|
|
2702
|
+
<a href="config.html#TreeWalker">TreeWalker</a>
|
|
2703
|
+
</p>
|
|
2704
|
+
</div>
|
|
2705
|
+
</div>
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
</div>
|
|
2710
|
+
</div>
|
|
2711
|
+
<div class="clear">
|
|
2712
|
+
<hr/>
|
|
2713
|
+
</div>
|
|
2714
|
+
<div id="footer">
|
|
2715
|
+
<div class="xright">Copyright © 2001-2012.
|
|
2716
|
+
All Rights Reserved.
|
|
2717
|
+
|
|
2718
|
+
</div>
|
|
2719
|
+
<div class="clear">
|
|
2720
|
+
<hr/>
|
|
2721
|
+
</div>
|
|
2722
|
+
</div>
|
|
2723
|
+
</body>
|
|
2724
|
+
</html>
|