All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.plugins.checkstyle.rules.xml Maven / Gradle / Ivy

Go to download

Checkstyle is a code analyser to help programmers write Java code that adheres to a coding standard.

The newest version!
<rules>

  <rule>
    <key>com.puppycrawl.tools.checkstyle.checks.header.HeaderCheck</key>
    <priority>MAJOR</priority>
    <configKey>Checker/Header</configKey>
    <param>
      <key>header</key>
      <type>s</type>
    </param>
    <param>
      <key>ignoreLines</key>
      <type>s</type>
    </param>
  </rule>

  <rule>
    <key>com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck</key>
    <priority>MAJOR</priority>
    <name><![CDATA[Regexp Header]]></name>
    <configKey><![CDATA[Checker/RegexpHeader]]></configKey>
    <param>
      <key>header</key>
      <type>s</type>
    </param>
    <param>
      <key>multiLines</key>
      <type>s</type>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Annotation Use Style]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AnnotationUseStyle]]></configKey>
    <param key="elementStyle" type="s[expanded,compact,compact_no_array,ignore]">
    </param>
    <param key="closingParens" type="s[always,never,ignore]">
    </param>
    <param key="trailingArrayComma" type="s[always,never,ignore]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.annotation.MissingDeprecatedCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Missing Deprecated]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MissingDeprecated]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Missing Override]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MissingOverride]]></configKey>
    <param key="javaFiveCompatibility" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Package Annotation]]></name>
    <configKey><![CDATA[Checker/TreeWalker/PackageAnnotation]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.annotation.SuppressWarningsCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Suppress Warnings]]></name>
    <configKey><![CDATA[Checker/TreeWalker/SuppressWarnings]]></configKey>
    <param key="format" type="STRING">
    </param>
    <param key="tokens" type="STRING">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.EqualsAvoidNullCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Equals Avoid Null]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EqualsAvoidNull]]></configKey>
    <param key="ignoreEqualsIgnoreCase" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.NoCloneCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[No Clone]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NoClone]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.NoFinalizerCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[No Finalizer]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NoFinalizer]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Avoid Static Import]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AvoidStaticImport]]></configKey>
    <param key="excludes" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Javadoc Package]]></name>
    <configKey><![CDATA[Checker/JavadocPackage]]></configKey>
    <param key="allowLegacy" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Regexp Multiline]]></name>
    <configKey><![CDATA[Checker/RegexpMultiline]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="STRING">
    </param>
    <param key="message" type="STRING">
    </param>
    <param key="ignoreCase" type="BOOLEAN">
    </param>
    <param key="minimum" type="INTEGER">
    </param>
    <param key="maximum" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Regexp Singleline]]></name>
    <configKey><![CDATA[Checker/RegexpSingleline]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="STRING">
    </param>
    <param key="message" type="STRING">
    </param>
    <param key="ignoreCase" type="BOOLEAN">
    </param>
    <param key="minimum" type="INTEGER">
    </param>
    <param key="maximum" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Regexp Singleline Java]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RegexpSinglelineJava]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="STRING">
    </param>
    <param key="message" type="STRING">
    </param>
    <param key="ignoreCase" type="BOOLEAN">
    </param>
    <param key="minimum" type="INTEGER">
    </param>
    <param key="maximum" type="INTEGER">
    </param>
    <param key="ignoreComments" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.OuterTypeNumberCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Outer Type Number]]></name>
    <configKey><![CDATA[Checker/TreeWalker/OuterTypeNumber]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck">
    <priority>MINOR</priority>
    <name><![CDATA[File Tab Character]]></name>
    <configKey><![CDATA[Checker/FileTabCharacter]]></configKey>
    <param key="eachLine" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Generic Whitespace]]></name>
    <configKey><![CDATA[Checker/TreeWalker/GenericWhitespace]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[JavaNCSS]]></name>
    <configKey><![CDATA[Checker/TreeWalker/JavaNCSS]]></configKey>
    <param key="methodMaximum" type="INTEGER">
    </param>
    <param key="classMaximum" type="INTEGER">
    </param>
    <param key="fileMaximum" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Redundant import]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RedundantImport]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Abstract Class Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AbstractClassName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^Abstract.*$|^.*Factory$</defaultValue>
    </param>
    <param key="ignoreModifier" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
    <param key="ignoreName" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Anon Inner Length]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AnonInnerLength]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.ArrayTrailingCommaCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Array Trailing Comma]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ArrayTrailingComma]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Array Type Style]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ArrayTypeStyle]]></configKey>
    <param key="javaStyle" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Avoid Inline Conditionals]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AvoidInlineConditionals]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Avoid Nested Blocks]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AvoidNestedBlocks]]></configKey>
    <param key="allowInSwitchCase" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Avoid Star Import]]></name>
    <configKey><![CDATA[Checker/TreeWalker/AvoidStarImport]]></configKey>
    <param key="excludes" type="s{}">
    </param>
    <param key="allowClassImports" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
    <param key="allowStaticMemberImports" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Boolean Expression Complexity]]></name>
    <configKey><![CDATA[Checker/TreeWalker/BooleanExpressionComplexity]]></configKey>
    <param key="max" type="INTEGER">
    </param>
    <param key="tokens" type="s[LAND,BAND,LOR,BOR,BXOR]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.ClassDataAbstractionCouplingCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Class Data Abstraction Coupling]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ClassDataAbstractionCoupling]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.ClassFanOutComplexityCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Class Fan Out Complexity]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ClassFanOutComplexity]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Constant Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ConstantName]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$</defaultValue>
    </param>
    <param key="applyToPublic" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToProtected" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPackage" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPrivate" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck">
    <priority>CRITICAL</priority>
    <name><![CDATA[Covariant Equals]]></name>
    <configKey><![CDATA[Checker/TreeWalker/CovariantEquals]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Cyclomatic Complexity]]></name>
    <configKey><![CDATA[Checker/TreeWalker/CyclomaticComplexity]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck">
    <priority>INFO</priority>
    <name><![CDATA[Declaration Order]]></name>
    <configKey><![CDATA[Checker/TreeWalker/DeclarationOrder]]></configKey>
    <param key="ignoreConstructors" type="BOOLEAN"/>
    <param key="ignoreMethods" type="BOOLEAN"/>
    <param key="ignoreModifiers" type="BOOLEAN"/>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Default Comes Last]]></name>
    <configKey><![CDATA[Checker/TreeWalker/DefaultComesLast]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Design For Extension]]></name>
    <configKey><![CDATA[Checker/TreeWalker/DesignForExtension]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Double Checked Locking]]></name>
    <configKey><![CDATA[Checker/TreeWalker/DoubleCheckedLocking]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Empty Block]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EmptyBlock]]></configKey>
    <param key="option" type="s[text,stmt]">
    </param>
    <param key="tokens"
           type="s[LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_IF,LITERAL_FOR,LITERAL_TRY,LITERAL_WHILE,INSTANCE_INIT,STATIC_INIT]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForInitializerPadCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Empty For Initializer Pad]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EmptyForInitializerPad]]></configKey>
    <param key="option" type="s[nospace,space]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Empty For Iterator Pad]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EmptyForIteratorPad]]></configKey>
    <param key="option" type="s[nospace,space]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Empty Statement]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EmptyStatement]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck">
    <priority>CRITICAL</priority>
    <name><![CDATA[Equals Hash Code]]></name>
    <configKey><![CDATA[Checker/TreeWalker/EqualsHashCode]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Executable Statement Count]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ExecutableStatementCount]]></configKey>
    <param key="max" type="INTEGER">
    </param>
    <param key="tokens" type="s[CTOR_DEF,METHOD_DEF,INSTANCE_INIT,STATIC_INIT]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Explicit Initialization]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ExplicitInitialization]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Fall Through]]></name>
    <configKey><![CDATA[Checker/TreeWalker/FallThrough]]></configKey>
    <param key="checkLastCaseGroup" type="BOOLEAN">
    </param>
    <param key="reliefPattern" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[File Length]]></name>
    <configKey><![CDATA[Checker/FileLength]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Final Class]]></name>
    <configKey><![CDATA[Checker/TreeWalker/FinalClass]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Final Local Variable]]></name>
    <configKey><![CDATA[Checker/TreeWalker/FinalLocalVariable]]></configKey>
    <param key="tokens" type="s[PARAMETER_DEF,VARIABLE_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Final Parameters]]></name>
    <configKey><![CDATA[Checker/TreeWalker/FinalParameters]]></configKey>
    <param key="tokens" type="s[METHOD_DEF,CTOR_DEF,LITERAL_CATCH]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Hidden Field]]></name>
    <configKey><![CDATA[Checker/TreeWalker/HiddenField]]></configKey>
    <param key="tokens" type="s[PARAMETER_DEF,VARIABLE_DEF]">
    </param>
    <param key="ignoreFormat" type="REGULAR_EXPRESSION">
    </param>
    <param key="ignoreConstructorParameter" type="BOOLEAN">
    </param>
    <param key="ignoreSetter" type="BOOLEAN">
    </param>
    <param key="ignoreAbstractMethods" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Hide Utility Class Constructor]]></name>
    <configKey><![CDATA[Checker/TreeWalker/HideUtilityClassConstructor]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Catch]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalCatch]]></configKey>
    <param key="illegalClassNames" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Import]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalImport]]></configKey>
    <param key="illegalPkgs" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Instantiation]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalInstantiation]]></configKey>
    <param key="classes" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Throws]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalThrows]]></configKey>
    <param key="illegalClassNames" type="s{}">
    </param>
    <param key="ignoredMethodNames" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Token]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalToken]]></configKey>
    <param key="tokens" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Token Text]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalTokenText]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="tokens" type="s{}">
    </param>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
    <param key="ignoreCase" type="BOOLEAN">
    </param>
    <param key="message" type="STRING">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Illegal Type]]></name>
    <configKey><![CDATA[Checker/TreeWalker/IllegalType]]></configKey>
    <param key="tokens" type="s[PARAMETER_DEF,VARIABLE_DEF,METHOD_DEF]">
    </param>
    <param key="illegalClassNames" type="s{}">
    </param>
    <param key="legalAbstractClassNames" type="s{}">
    </param>
    <param key="ignoredMethodNames" type="s{}">
    </param>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Import Order]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ImportOrder]]></configKey>
    <param key="option" type="STRING">
    </param>
    <param key="groups" type="s{}">
    </param>
    <param key="ordered" type="BOOLEAN">
    </param>
    <param key="separated" type="BOOLEAN">
    </param>
    <param key="caseSensitive" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Indentation]]></name>
    <configKey><![CDATA[Checker/TreeWalker/Indentation]]></configKey>
    <param key="basicOffset" type="INTEGER">
      <defaultValue>4</defaultValue>
    </param>
    <param key="braceAdjustment" type="INTEGER">
      <defaultValue>0</defaultValue>
    </param>
    <param key="caseIndent" type="INTEGER">
      <defaultValue>4</defaultValue>
    </param>
    <param key="tabWidth" type="INTEGER">
      <defaultValue>8</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Inner Assignment]]></name>
    <configKey><![CDATA[Checker/TreeWalker/InnerAssignment]]></configKey>
    <param key="tokens"
           type="s[ASSIGN,BAND_ASSIGN,BOR_ASSIGN,BSR_ASSIGN,BXOR_ASSIGN,DIV_ASSIGN,MINUS_ASSIGN,MOD_ASSIGN,PLUS_ASSIGN,SL_ASSIGN,SR_ASSIGN,STAR_ASSIGN]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Interface Is Type]]></name>
    <configKey><![CDATA[Checker/TreeWalker/InterfaceIsType]]></configKey>
    <param key="allowMarkerInterfaces" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Javadoc Method]]></name>
    <configKey><![CDATA[Checker/TreeWalker/JavadocMethod]]></configKey>
    <param key="scope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="excludeScope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="allowUndeclaredRTE" type="BOOLEAN">
    </param>
    <param key="allowThrowsTagsForSubclasses" type="BOOLEAN">
    </param>
    <param key="allowMissingParamTags" type="BOOLEAN">
    </param>
    <param key="allowMissingThrowsTags" type="BOOLEAN">
    </param>
    <param key="allowMissingReturnTag" type="BOOLEAN">
    </param>
    <param key="allowMissingJavadoc" type="BOOLEAN">
    </param>
    <param key="allowMissingPropertyJavadoc" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[METHOD_DEF,CTOR_DEF]">
    </param>
    <param key="suppressLoadErrors" type="BOOLEAN">
      <!-- Note that default value in Checkstyle 5.5 is false -->
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Javadoc Style]]></name>
    <configKey><![CDATA[Checker/TreeWalker/JavadocStyle]]></configKey>
    <param key="scope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="excludeScope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="checkFirstSentence" type="BOOLEAN">
    </param>
    <param key="checkEmptyJavadoc" type="BOOLEAN">
    </param>
    <param key="checkHtml" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[INTERFACE_DEF,CLASS_DEF,METHOD_DEF,CTOR_DEF,VARIABLE_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Javadoc Type]]></name>
    <configKey><![CDATA[Checker/TreeWalker/JavadocType]]></configKey>
    <param key="scope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="excludeScope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="authorFormat" type="REGULAR_EXPRESSION">
    </param>
    <param key="versionFormat" type="REGULAR_EXPRESSION">
    </param>
    <param key="allowMissingParamTags" type="BOOLEAN">
    </param>
    <param key="allowUnknownTags" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[INTERFACE_DEF,CLASS_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Javadoc Variable]]></name>
    <configKey><![CDATA[Checker/TreeWalker/JavadocVariable]]></configKey>
    <param key="scope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
    <param key="excludeScope" type="s[nothing,public,protected,package,private,anoninner]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Left Curly]]></name>
    <configKey><![CDATA[Checker/TreeWalker/LeftCurly]]></configKey>
    <param key="option" type="s[eol,nl,nlow]">
    </param>
    <param key="maxLineLength" type="INTEGER">
    </param>
    <param key="tokens"
           type="s[CLASS_DEF,CTOR_DEF,INTERFACE_DEF,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,METHOD_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Line Length]]></name>
    <configKey><![CDATA[Checker/TreeWalker/LineLength]]></configKey>
    <param key="ignorePattern" type="REGULAR_EXPRESSION">
    </param>
    <param key="max" type="INTEGER">
    </param>
    <param key="tabWidth" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Local Final Variable Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/LocalFinalVariableName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck">
    <priority>MAJOR</priority>
    <cardinality>MULTIPLE</cardinality>
    <name><![CDATA[Local Variable Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/LocalVariableName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
    <param key="tokens" type="s[VARIABLE_DEF,PARAMETER_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Magic Number]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MagicNumber]]></configKey>
    <param key="tokens" type="s[NUM_DOUBLE,NUM_FLOAT,NUM_INT,NUM_LONG]">
    </param>
    <param key="ignoreNumbers" type="i{}">
    </param>
    <param key="ignoreHashCodeMethod" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
    <param key="ignoreAnnotation" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck">
    <priority>MAJOR</priority>
    <cardinality>MULTIPLE</cardinality>
    <name><![CDATA[Member name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MemberName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
    <param key="applyToPublic" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToProtected" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPackage" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPrivate" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Method Length]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MethodLength]]></configKey>
    <param key="max" type="INTEGER">
    </param>
    <param key="countEmpty" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[METHOD_DEF,CTOR_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Method Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MethodName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
    <param key="allowClassName" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Method Param Pad]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MethodParamPad]]></configKey>
    <param key="allowLineBreaks" type="BOOLEAN">
    </param>
    <param key="option" type="s[nospace,space]">
    </param>
    <param key="tokens" type="s[CTOR_DEF,LITERAL_NEW,METHOD_CALL,METHOD_DEF,SUPER_CTOR_CALL]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Missing Constructor]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MissingCtor]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Missing Switch Default]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MissingSwitchDefault]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Modified Control Variable]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ModifiedControlVariable]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Modifier Order]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ModifierOrder]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Multiple String Literals]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MultipleStringLiterals]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="allowedDuplicates" type="INTEGER">
    </param>
    <param key="ignoreStringsRegexp" type="REGULAR_EXPRESSION">
    </param>
    <param key="ignoreOccurrenceContext" type="STRING">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.MultipleVariableDeclarationsCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Multiple Variable Declarations]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MultipleVariableDeclarations]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Mutable Exception]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MutableException]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[NPath Complexity]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NPathComplexity]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Need Braces]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NeedBraces]]></configKey>
    <param key="tokens" type="s[LITERAL_DO,LITERAL_ELSE,LITERAL_IF,LITERAL_FOR,LITERAL_WHILE]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.NestedIfDepthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Nested If Depth]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NestedIfDepth]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.NestedTryDepthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Nested Try Depth]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NestedTryDepth]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Newline At End Of File]]></name>
    <configKey><![CDATA[Checker/NewlineAtEndOfFile]]></configKey>
    <param key="lineSeparator" type="s[system,crlf,cr,lf]">
    </param>
    <param key="fileExtensions" type="s{}">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck">
    <priority>MINOR</priority>
    <name><![CDATA[No Whitespace After]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NoWhitespaceAfter]]></configKey>
    <param key="allowLineBreaks" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[ARRAY_INIT,BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS,TYPECAST]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck">
    <priority>MINOR</priority>
    <name><![CDATA[No Whitespace Before]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NoWhitespaceBefore]]></configKey>
    <param key="allowLineBreaks" type="BOOLEAN">
    </param>
    <param key="tokens" type="s[SEMI,DOT,POST_DEC,POST_INC]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Operator Wrap]]></name>
    <configKey><![CDATA[Checker/TreeWalker/OperatorWrap]]></configKey>
    <param key="option" type="s[nl,eol]">
    </param>
    <param key="tokens"
           type="s[ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_INSTANCEOF,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.PackageDeclarationCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Package Declaration]]></name>
    <configKey><![CDATA[Checker/TreeWalker/PackageDeclaration]]></configKey>
    <param key="ignoreDirectoryName" type="BOOLEAN"/>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Package name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/PackageName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_]*)*$</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Parameter Assignment]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ParameterAssignment]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Parameter Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ParameterName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Parameter Number]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ParameterNumber]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="max" type="INTEGER"/>
    <param key="tokens" type="s[METHOD_DEF,CTOR_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Paren Pad]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ParenPad]]></configKey>
    <param key="option" type="s[nospace,space]">
    </param>
    <param key="tokens" type="s[CTOR_CALL,LPAREN,METHOD_CALL,RPAREN,SUPER_CTOR_CALL]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Redundant Modifier]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RedundantModifier]]></configKey>
    <param key="tokens" type="s[METHOD_DEF,VARIABLE_DEF,ANNOTATION_FIELD_DEF,INTERFACE_DEF]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Redundant Throws]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RedundantThrows]]></configKey>
    <param key="allowUnchecked" type="BOOLEAN">
    </param>
    <param key="allowSubclasses" type="BOOLEAN">
    </param>
    <param key="suppressLoadErrors" type="BOOLEAN">
      <!-- Note that default value in Checkstyle 5.5 is false -->
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.RegexpCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Regexp]]></name>
    <configKey><![CDATA[Checker/TreeWalker/Regexp]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
    <param key="message" type="STRING">
    </param>
    <param key="illegalPattern" type="BOOLEAN">
    </param>
    <param key="duplicateLimit" type="INTEGER">
    </param>
    <param key="errorLimit" type="INTEGER">
    </param>
    <param key="ignoreComments" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Require This]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RequireThis]]></configKey>
    <param key="checkFields" type="BOOLEAN">
    </param>
    <param key="checkMethods" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Return Count]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ReturnCount]]></configKey>
    <param key="max" type="INTEGER">
    </param>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Right Curly]]></name>
    <configKey><![CDATA[Checker/TreeWalker/RightCurly]]></configKey>
    <param key="option" type="s[same,alone]">
    </param>
    <param key="tokens" type="s[LITERAL_TRY,LITERAL_CATCH,LITERAL_FINALLY,LITERAL_IF,LITERAL_ELSE]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Simplify Boolean Expression]]></name>
    <configKey><![CDATA[Checker/TreeWalker/SimplifyBooleanExpression]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Simplify Boolean Return]]></name>
    <configKey><![CDATA[Checker/TreeWalker/SimplifyBooleanReturn]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Static Variable Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/StaticVariableName]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[a-z][a-zA-Z0-9]*$</defaultValue>
    </param>
    <param key="applyToPublic" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToProtected" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPackage" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPrivate" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.duplicates.StrictDuplicateCodeCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Strict Duplicate Code]]></name>
    <configKey><![CDATA[Checker/StrictDuplicateCode]]></configKey>
    <param key="min" type="INTEGER">
    </param>
    <param key="charset" type="STRING">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[String Literal Equality]]></name>
    <configKey><![CDATA[Checker/TreeWalker/StringLiteralEquality]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.SuperCloneCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Super Clone]]></name>
    <configKey><![CDATA[Checker/TreeWalker/SuperClone]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.SuperFinalizeCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Super Finalize]]></name>
    <configKey><![CDATA[Checker/TreeWalker/SuperFinalize]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Throws Count]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ThrowsCount]]></configKey>
    <param key="max" type="INTEGER">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Comment pattern matcher]]></name>
    <configKey><![CDATA[Checker/TreeWalker/TodoComment]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.TrailingCommentCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Trailing Comment]]></name>
    <configKey><![CDATA[Checker/TreeWalker/TrailingComment]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[\s\}\);]*$</defaultValue>
    </param>
    <param key="legalComment" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <!--
   Deactivated. See http://jira.codehaus.org/browse/SONAR-1698

   <rule key="com.puppycrawl.tools.checkstyle.checks.TranslationCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Translation]]></name>
    <configKey><![CDATA[Checker/Translation]]></configKey>
    <param key="fileExtensions" type="s{}">
    </param>
  </rule>
  -->

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Type Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/TypeName]]></configKey>
    <cardinality>MULTIPLE</cardinality>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[A-Z][a-zA-Z0-9]*$</defaultValue>
    </param>
    <param key="tokens" type="s[CLASS_DEF,INTERFACE_DEF]">
    </param>
    <param key="applyToPublic" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToProtected" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPackage" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
    <param key="applyToPrivate" type="BOOLEAN">
      <defaultValue>true</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Typecast Paren Pad]]></name>
    <configKey><![CDATA[Checker/TreeWalker/TypecastParenPad]]></configKey>
    <param key="option" type="s[nospace,space]">
    </param>
    <param key="tokens" type="s[TYPECAST,RPAREN]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Uncommented Main]]></name>
    <configKey><![CDATA[Checker/TreeWalker/UncommentedMain]]></configKey>
    <param key="excludedClasses" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.UnnecessaryParenthesesCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Unnecessary Parentheses]]></name>
    <configKey><![CDATA[Checker/TreeWalker/UnnecessaryParentheses]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck">
    <priority>INFO</priority>
    <name><![CDATA[Unused Imports]]></name>
    <configKey><![CDATA[Checker/TreeWalker/UnusedImports]]></configKey>
    <param key="processJavadoc" type="BOOLEAN">
      <defaultValue>false</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Upper Ell]]></name>
    <configKey><![CDATA[Checker/TreeWalker/UpperEll]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Visibility Modifier]]></name>
    <configKey><![CDATA[Checker/TreeWalker/VisibilityModifier]]></configKey>
    <param key="packageAllowed" type="BOOLEAN">
    </param>
    <param key="protectedAllowed" type="BOOLEAN">
    </param>
    <param key="publicMemberPattern" type="REGULAR_EXPRESSION">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Whitespace After]]></name>
    <configKey><![CDATA[Checker/TreeWalker/WhitespaceAfter]]></configKey>
    <param key="tokens" type="s[COMMA,SEMI,TYPECAST]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Whitespace Around]]></name>
    <configKey><![CDATA[Checker/TreeWalker/WhitespaceAround]]></configKey>
    <param key="tokens"
           type="s[ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LCURLY,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,RCURLY,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,GENERIC_START,GENERIC_END,TYPE_EXTENSION_AND,WILDCARD_TYPE]">
    </param>
    <param key="allowEmptyConstructors" type="BOOLEAN">
    </param>
    <param key="allowEmptyMethods" type="BOOLEAN">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck">
    <priority>MINOR</priority>
    <name><![CDATA[Write Tag]]></name>
    <configKey><![CDATA[Checker/TreeWalker/WriteTag]]></configKey>
    <param key="tag" type="STRING">
    </param>
    <param key="tagFormat" type="REGULAR_EXPRESSION">
    </param>
    <param key="tagSeverity" type="s[ignore,info,warning,error]">
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.design.InnerTypeLastCheck">
    <priority>INFO</priority>
    <name><![CDATA[Inner Type Last]]></name>
    <configKey><![CDATA[Checker/TreeWalker/InnerTypeLast]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.OuterTypeFilenameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Outer Type Filename]]></name>
    <configKey><![CDATA[Checker/TreeWalker/OuterTypeFilename]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.NestedForDepthCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Nested For Depth]]></name>
    <configKey><![CDATA[Checker/TreeWalker/NestedForDepth]]></configKey>
    <param key="max" type="INTEGER">
      <defaultValue>1</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Method Count]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MethodCount]]></configKey>
    <param key="maxTotal" type="INTEGER">
      <defaultValue>100</defaultValue>
    </param>
    <param key="maxPrivate" type="INTEGER">
      <defaultValue>100</defaultValue>
    </param>
    <param key="maxPackage" type="INTEGER">
      <defaultValue>100</defaultValue>
    </param>
    <param key="maxProtected" type="INTEGER">
      <defaultValue>100</defaultValue>
    </param>
    <param key="maxPublic" type="INTEGER">
      <defaultValue>100</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.coding.OneStatementPerLineCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[One Statement Per Line]]></name>
    <configKey><![CDATA[Checker/TreeWalker/OneStatementPerLine]]></configKey>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Class Type Parameter Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/ClassTypeParameterName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[A-Z]$</defaultValue>
    </param>
  </rule>

  <rule key="com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck">
    <priority>MAJOR</priority>
    <name><![CDATA[Method Type Parameter Name]]></name>
    <configKey><![CDATA[Checker/TreeWalker/MethodTypeParameterName]]></configKey>
    <param key="format" type="REGULAR_EXPRESSION">
      <defaultValue>^[A-Z]$</defaultValue>
    </param>
  </rule>

</rules>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy