Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Package com.puppycrawl.tools.checkstyle.checks

Class Summary
AbstractFormatCheck Abstract class for checks that verify strings using a regular expression.
AbstractImportCheck Abstract class that provides helper functionality for determining an import name.
AbstractNameCheck Abstract class for checking that names conform to a specified format.
AbstractOption Abstract class that represents options.
AbstractOptionCheck Abstract class for checks with options.
AbstractTypeAwareCheck Abstract class that endeavours to maintain type information for the Java file being checked.
ArrayTypeStyleCheck Checks the style of array type definitions.
ArrayTypeStyleCheckTest  
AvoidStarImportCheck Check that finds import statements that use the * notation.
AvoidStarImportTest  
BlockOption Represents the policy for checking block statements.
CheckUtils Contains utility methods for the checks.
ClassResolver Utility class to resolve a class name to an actual class.
ClassResolverTest  
ConstantNameCheck Checks that constant names conform to a format specified by the format property.
ConstantNameCheckTest  
DescendantTokenCheck Checks for restricted tokens beneath other tokens.
DescendantTokenCheckTest  
EmptyBlockCheck Checks for empty blocks.
EmptyBlockCheckTest  
EmptyForIteratorPadCheck Checks the padding of an empty for iterator; that is whether a space is required at an empty for iterator, or such spaces are forbidden.
EmptyForIteratorPadCheckTest  
EqualsHashCodeCheck Checks that classes that override equals() also override hashCode().
EqualsHashCodeCheckTest  
FileLengthCheck Checks for long source files.
FileLengthCheckTest  
FileSetCheckLifecycleTest  
FileSetCheckLifecycleTest.TestFileSetCheck  
FinalParametersCheck Check that method/constructor parameters are final.
FinalParametersCheckTest  
GenericIllegalRegexpCheck A generic check for code problems, the user can search for any pattern.
GenericIllegalRegexpCheckTest  
HeaderCheck Checks the header of the source against a fixed header file.
HeaderCheckTest  
HiddenFieldCheck Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
HiddenFieldCheckTest  
IllegalImportCheck Checks for imports from a set of illegal packages.
IllegalImportCheckTest  
IllegalInstantiationCheck Checks for illegal instantiations where a factory method is preferred.
IllegalInstantiationCheckTest  
InnerAssignmentCheck Checks for assignments in subexpressions, such as in String s = Integer.toString(i = 2);.
InnerAssignmentCheckTest  
JavadocMethodCheck Checks the Javadoc of a method or constructor.
JavadocMethodCheckTest  
JavadocTag Represents a Javadoc tag.
JavadocTypeCheck Checks the Javadoc of a type.
JavadocTypeCheckTest  
JavadocVariableCheck Checks that a variable has Javadoc comment.
JavadocVariableCheckTest  
LeftCurlyCheck Checks the placement of left curly braces on types, methods and other the other blocks: LITERAL_CATCH 55 , LITERAL_DO 55 , LITERAL_ELSE 55 , LITERAL_FINALLY 55 , LITERAL_FOR 55 , LITERAL_IF 55 , LITERAL_SWITCH 55 , LITERAL_SYNCHRONIZED 55 , LITERAL_TRY 55 , LITERAL_WHILE 55 .
LeftCurlyCheckTest  
LeftCurlyOption Represents the options for placing the left curly brace '{'.
LineLengthCheck Checks for long lines.
LineLengthCheckTest  
LineSeparatorOption Represents the options for line separator settings.
LocalFinalVariableNameCheck Checks that local final variable names conform to a format specified by the format property.
LocalFinalVariableNameCheckTest  
LocalVariableNameCheck Checks that local, non-final variable names conform to a format specified by the format property.
LocalVariableNameCheckTest  
MemberNameCheck Checks that instance variable names conform to a format specified by the format property.
MemberNameCheckTest  
MethodLengthCheck Checks for long methods.
MethodLengthCheckTest  
MethodNameCheck Checks that method names conform to a format specified by the format property.
MethodNameCheckTest  
ModifierOrderCheck Checks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3.
ModifierOrderCheckTest  
NeedBracesCheck Checks for braces around code blocks.
NeedBracesCheckTest  
NewlineAtEndOfFileCheck Checks that there is a newline at the end of each file.
NewlineAtEndOfFileCheckTest  
NoWhitespaceAfterCheck Checks that there is no whitespace after a token.
NoWhitespaceAfterCheckTest  
NoWhitespaceBeforeCheck Checks that there is no whitespace before a token.
NoWhitespaceBeforeCheckTest  
OperatorWrapCheck Checks line wrapping for operators.
OperatorWrapCheckTest  
OperatorWrapOption Represents the options for wrapping on an operator.
PackageHtmlCheck Checks that all packages have a package documentation.
PackageHtmlCheckTest  
PackageNameCheck Checks that package names conform to a format specified by the format property.
PackageNameCheckTest  
PadOption Represents the options for whitespace around parentheses.
ParameterNameCheck Checks that parameter names conform to a format specified by the format property.
ParameterNameCheckTest  
ParameterNumberCheck Checks the number of parameters that a method or constructor has.
ParameterNumberCheckTest  
ParenPadCheck Checks the padding of parentheses; that is whether a space is required after a left parenthesis and before a right parenthesis, or such spaces are forbidden, with the exception that it does not check for padding of the right parenthesis at an empty for iterator.
ParenPadCheckTest  
RedundantImportCheck Checks for imports that are redundant.
RedundantImportCheckTest  
RedundantModifierCheck Checks for redundant modifiers in interface definitions.
RedundantModifierTest  
RegexpHeaderCheck Checks the header of the source against a header file that contains a regular expression for each line of the source header.
RightCurlyCheck Checks the placement of right curly braces.
RightCurlyCheckTest  
RightCurlyOption Represents the options for placing the right curly brace '}'.
SimplifyBooleanExpressionCheck Checks for overly complicated boolean expressions.
SimplifyBooleanExpressionCheckTest  
SimplifyBooleanReturnCheck Checks for overly complicated boolean return statements.
SimplifyBooleanReturnCheckTest  
StaticVariableNameCheck Checks that static, non-final variable names conform to a format specified by the format property.
StaticVariableNameCheckTest  
TabCharacterCheck Reports tab characters ('\t') in the source code.
TabCharacterCheckTest  
TodoCommentCheck A check for TODO comments.
TodoCommentCheckTest  
TranslationCheck The TranslationCheck class helps to ensure the correct translation of code by checking property files for consistency regarding their keys.
TranslationCheckTest  
TypeNameCheck Checks that type names conform to a format specified by the format property.
TypeNameCheckTest  
UncommentedMainCheck Detects uncommented main methods.
UncommentedMainCheckTest  
UnusedImportsCheck Checks for unused import statements.
UnusedImportsCheckTest  
UpperEllCheck Checks that long constants are defined with an uppper ell.
UpperEllCheckTest  
VisibilityModifierCheck Checks visibility of class members.
VisibilityModifierCheckTest  
WhitespaceAfterCheck Checks that a token is followed by whitespace, with the exception that it does not check for whitespace after the semicolon of an empty for iterator.
WhitespaceAfterCheckTest  
WhitespaceAroundCheck Checks that a token is surrounded by whitespace.
WhitespaceAroundTest