CheckStyle
2020-12-14 22:39:07 3 举报
AI智能生成
CheckStyle
作者其他创作
大纲/内容
CheckStyle
Parameter
ParameterNumber
max=5
FinalParameters
Block
NestedForDepth
max=2
NestedIfDepth
NestedTryDepth
AvoidNestedBlocks
EmptyBlock
EmptyCatchBlock
FallThrough
DefaultComesLast
MissingSwitchDefault
EmptyStatement
SimplifyBooleanExpression
BooleanExpressionComplexity
EqualsAvoidNull
StringLiteralEquality
OneStatementPerLine
Lambda
LambdaBodyLength
Variable
MultipleVariableDeclarations
VariableDeclarationUsageDistance
ModifiedControlVariable
MultipleStringLiterals
UpperEll
long num = 123L;
Comment
CommentsIndentation
TrailingComment
TodoComment
Whitespace
NeedBraces
WhitespaceAfter
WhitespaceAround
EmptyLineSeparator
Javadoc
AtclauseOrder
RequireEmptyLineBeforeBlockTagGroup
JavadocType
MissingJavadocType
JavadocVariable
JavadocMethod
SummaryJavadoc
SingleLineJavadoc
InvalidJavadocPosition
JavadocBlockTagLocation
JavadocContentLocationCheck
JavadocMissingLeadingAsterisk
JavadocMissingWhitespaceAfterAsterisk
JavadocParagraph
JavadocTagContinuationIndentation
MissingJavadocPackage
NonEmptyAtclauseDescription
Array
ArrayTypeStyle
ArrayTrailingComma
NoArrayTrailingComma
Enum
UnnecessarySemicolonInEnumeration
NoEnumTrailingComma
File
FileTabCharacter
\\t
FileLength
max=1500
LineLength
max=140
NewlineAtEndOfFile
OuterTypeFilename
NoCodeInFile
AvoidEscapedUnicodeCharacters
Regexp
System.out.print
e.printStackTrace(**)
Name
PackageName
TypeName
MethodName
ParameterName
MemberName
LambdaParameterName
CatchParameterName
LocalVariableName
PatternVariableName
ClassTypeParameterName
RecordTypeParameterName
MethodTypeParameterName
InterfaceTypeParameterName
Package
Import
AvoidStarImport
import java.util.*;
AvoidStaticImport
IllegalImport
import sun.*;
RedundantImport
import java.lang.String;
UnusedImports
Modifiers
ModifierOrder
RedundantModifier
AnnotationLocation
Class
FinalClass
HideUtilityClassConstructor
InnerTypeLast
InterfaceIsType
MutableException
OneTopLevelClass
OuterTypeNumber
AnonInnerLength
MissingCtor
NoClone
NoFinalizer
SuperClone
SuperFinalize
EqualsHashCode
Member
DeclarationOrder
ExplicitInitialization
boolean bool = new Boolean(true);
Method
MethodCount
maxTotal
maxPrivate
maxPackage
maxProtected
maxPublic
MethodLength
max=50
ExecutableStatementCount
ReturnCount
OverloadMethodsDeclarationOrder
AvoidNoArgumentSuperConstructorCall
0 条评论
下一页