|
|||||||||
| Home >> All >> com >> puppycrawl >> tools >> checkstyle >> [ checks overview ] | PREV NEXT | ||||||||
A
- ALONE - Static variable in class com.puppycrawl.tools.checkstyle.checks.RightCurlyOption
- Represents the policy that the brace must be alone on the line.
- AbstractFormatCheck - class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck.
- Abstract class for checks that verify strings using a regular expression.
- AbstractFormatCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
- Creates a new
AbstractFormatCheckinstance. - AbstractImportCheck - class com.puppycrawl.tools.checkstyle.checks.AbstractImportCheck.
- Abstract class that provides helper functionality for determining an import name.
- AbstractImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractImportCheck
- AbstractNameCheck - class com.puppycrawl.tools.checkstyle.checks.AbstractNameCheck.
- Abstract class for checking that names conform to a specified format.
- AbstractNameCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractNameCheck
- Creates a new
AbstractNameCheckinstance. - AbstractOption - class com.puppycrawl.tools.checkstyle.checks.AbstractOption.
- Abstract class that represents options.
- AbstractOption(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractOption
- Creates a new
AbstractOptioninstance. - AbstractOptionCheck - class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck.
- Abstract class for checks with options.
- AbstractOptionCheck(AbstractOption) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
- Creates a new
AbstractOptionCheckinstance. - AbstractTypeAwareCheck - class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.
- Abstract class that endeavours to maintain type information for the Java file being checked.
- AbstractTypeAwareCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- AbstractTypeAwareCheck.ClassInfo - class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo.
- Contains class's
FullIdentandClassobject if we can load it. - AbstractTypeAwareCheck.ClassInfo(FullIdent, Class) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
- Creates new instance of of class information object.
- AbstractTypeAwareCheck.ClassInfo(FullIdent) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
- Creates new instance of of class information object.
- ArrayTypeStyleCheck - class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck.
- Checks the style of array type definitions.
- ArrayTypeStyleCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
- ArrayTypeStyleCheckTest - class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheckTest.
- ArrayTypeStyleCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheckTest
- AvoidStarImportCheck - class com.puppycrawl.tools.checkstyle.checks.AvoidStarImportCheck.
- Check that finds import statements that use the * notation.
- AvoidStarImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AvoidStarImportCheck
- AvoidStarImportTest - class com.puppycrawl.tools.checkstyle.checks.AvoidStarImportTest.
- AvoidStarImportTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AvoidStarImportTest
- arrangePropertyFiles(File[]) - Static method in class com.puppycrawl.tools.checkstyle.checks.TranslationCheck
- Arranges a set of property files by their prefix.
B
- BASE_10 - Static variable in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- decimal radix
- BASE_16 - Static variable in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- hex radix
- BASE_8 - Static variable in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- octal radix
- BlockOption - class com.puppycrawl.tools.checkstyle.checks.BlockOption.
- Represents the policy for checking block statements.
- BlockOption(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.BlockOption
- Creates a new
BlockOptioninstance. - basename(String) - Static method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- basename(String) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- basename(String) - Method in class com.puppycrawl.tools.checkstyle.checks.UnusedImportsCheck
- beginTree(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.FileLengthCheck
- beginTree(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck
- beginTree(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.LineLengthCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.RedundantImportCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.TabCharacterCheck
- beginTree(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
- beginTree(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- beginTree() - Method in class com.puppycrawl.tools.checkstyle.checks.UnusedImportsCheck
C
- CR - Static variable in class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
- Mac-style line separators.
- CRLF - Static variable in class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
- Windows-style line separators.
- CheckUtils - class com.puppycrawl.tools.checkstyle.checks.CheckUtils.
- Contains utility methods for the checks.
- CheckUtils() - Constructor for class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- prevent instances
- ClassResolver - class com.puppycrawl.tools.checkstyle.checks.ClassResolver.
- Utility class to resolve a class name to an actual class.
- ClassResolver(ClassLoader, String, Set) - Constructor for class com.puppycrawl.tools.checkstyle.checks.ClassResolver
- Creates a new
ClassResolverinstance. - ClassResolverTest - class com.puppycrawl.tools.checkstyle.checks.ClassResolverTest.
- ClassResolverTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ClassResolverTest
- ConstantNameCheck - class com.puppycrawl.tools.checkstyle.checks.ConstantNameCheck.
- Checks that constant names conform to a format specified by the format property.
- ConstantNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ConstantNameCheck
- Creates a new
ConstantNameCheckinstance. - ConstantNameCheckTest - class com.puppycrawl.tools.checkstyle.checks.ConstantNameCheckTest.
- ConstantNameCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ConstantNameCheckTest
- checkBadComments(FileContents) - Method in class com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
- Checks the C-style comments for todo expressions.
- checkClassName() - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- Checks that current class is not excluded
- checkComment(DetailAST, String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Checks the Javadoc for a method.
- checkConfig - Variable in class com.puppycrawl.tools.checkstyle.checks.NoWhitespaceAfterCheckTest
- checkConfig - Variable in class com.puppycrawl.tools.checkstyle.checks.NoWhitespaceBeforeCheckTest
- checkConfig - Variable in class com.puppycrawl.tools.checkstyle.checks.OperatorWrapCheckTest
- checkCppComments(FileContents) - Method in class com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
- Checks the C++ comments for todo expressions.
- checkModifiers(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- Checks that method has final and static modifiers.
- checkName(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- Checks that method name is @quot;main@quot;.
- checkOrderSuggestedByJLS(List) - Method in class com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck
- Checks if the modifiers were added in the order suggested in the Java language specification.
- checkParamTags(List, List) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Checks a set of tags for matching parameters.
- checkParams(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- Checks that method has only
String[]param - checkPropertyFileSets(Map) - Method in class com.puppycrawl.tools.checkstyle.checks.TranslationCheck
- Tests whether the given property files (arranged by their prefixes in a Map) contain the proper keys.
- checkReturnTag(List, int) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Checks for only one return tag.
- checkTag(int, String[], String, RE, RE, String) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheck
- Verifies that a type definition has a required tag.
- checkThrowsTags(List, List) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Checks a set of tags for matching throws.
- checkType(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- Checks that return type is
void. - com.puppycrawl.tools.checkstyle.checks - package com.puppycrawl.tools.checkstyle.checks
- compareKeySets(Set, Map) - Method in class com.puppycrawl.tools.checkstyle.checks.TranslationCheck
- Compares the key sets of the given property files (arranged in a map) with the specified key set.
- countTokens(AST, int) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
- Counts the number of occurrences of descendant tokens.
- createCheckerConfig(Configuration) - Method in class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest
- createCheckerConfig(Configuration) - Method in class com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheckTest
- createCheckerConfig(Configuration) - Method in class com.puppycrawl.tools.checkstyle.checks.PackageHtmlCheckTest
- createCheckerConfig(Configuration) - Method in class com.puppycrawl.tools.checkstyle.checks.TranslationCheckTest
- createFullType(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- Creates
FullIdentfor given type node. - createFullTypeNoArrays(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
D
- DescendantTokenCheck - class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck.
- Checks for restricted tokens beneath other tokens.
- DescendantTokenCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
- DescendantTokenCheckTest - class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheckTest.
- DescendantTokenCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheckTest
- decode(String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractOption
- Returns the option specified by a string representation.
- destroy() - Method in class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.TestFileSetCheck
- destroyed - Static variable in class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.TestFileSetCheck
E
- EMPTY_INT_ARRAY - Static variable in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- empty array to avoid instantiations
- END_JAVADOC - Static variable in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Multiline finished at end of comment
- EOL - Static variable in class com.puppycrawl.tools.checkstyle.checks.LeftCurlyOption
- Represents the policy for placing the brace at the end of line.
- EOL - Static variable in class com.puppycrawl.tools.checkstyle.checks.OperatorWrapOption
- require that the operator is at the end of the line
- EmptyBlockCheck - class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheck.
- Checks for empty blocks.
- EmptyBlockCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheck
- Creates a new
EmptyBlockCheckinstance. - EmptyBlockCheckTest - class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheckTest.
- EmptyBlockCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheckTest
- EmptyForIteratorPadCheck - class com.puppycrawl.tools.checkstyle.checks.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.
- EmptyForIteratorPadCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EmptyForIteratorPadCheck
- Sets the paren pad otion to nospace.
- EmptyForIteratorPadCheckTest - class com.puppycrawl.tools.checkstyle.checks.EmptyForIteratorPadCheckTest.
- EmptyForIteratorPadCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EmptyForIteratorPadCheckTest
- EqualsHashCodeCheck - class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck.
- Checks that classes that override equals() also override hashCode().
- EqualsHashCodeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck
- EqualsHashCodeCheckTest - class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheckTest.
- EqualsHashCodeCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheckTest
- endsWithNewline(RandomAccessFile) - Method in class com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck
- Checks whether the content provided by the Reader ends with the platform specific line separator.
- extractPropertyIdentifier(File) - Static method in class com.puppycrawl.tools.checkstyle.checks.TranslationCheck
- Gets the basename (the unique prefix) of a property file.
F
- FileLengthCheck - class com.puppycrawl.tools.checkstyle.checks.FileLengthCheck.
- Checks for long source files.
- FileLengthCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FileLengthCheck
- FileLengthCheckTest - class com.puppycrawl.tools.checkstyle.checks.FileLengthCheckTest.
- FileLengthCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FileLengthCheckTest
- FileSetCheckLifecycleTest - class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.
- FileSetCheckLifecycleTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest
- FileSetCheckLifecycleTest.TestFileSetCheck - class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.TestFileSetCheck.
- FileSetCheckLifecycleTest.TestFileSetCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.TestFileSetCheck
- FinalParametersCheck - class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck.
- Check that method/constructor parameters are final.
- FinalParametersCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck
- FinalParametersCheckTest - class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheckTest.
- FinalParametersCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheckTest
- finishLocalSetup() - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- Checks that required args were specified.
- finishTree() - Method in class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck
- finishTree() - Method in class com.puppycrawl.tools.checkstyle.checks.UnusedImportsCheck
- fromPackage(String, String) - Static method in class com.puppycrawl.tools.checkstyle.checks.RedundantImportCheck
- Determines if an import statement is for types from a specified package.
G
- GenericIllegalRegexpCheck - class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck.
- A generic check for code problems, the user can search for any pattern.
- GenericIllegalRegexpCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck
- Instantiates an new GenericIllegalRegexpCheck.
- GenericIllegalRegexpCheckTest - class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheckTest.
- GenericIllegalRegexpCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheckTest
- getAbstractOption() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- Prevent user from changing tokens in the configuration.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.NoWhitespaceBeforeCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.OperatorWrapCheck
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanExpressionCheck
- Prevent user from changing tokens in the configuration.
- getArg1() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- getChecker() - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheckTest
- getClassResolver() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- getClazz() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidStarImportCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ConstantNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.EmptyForIteratorPadCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.FileLengthCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocVariableCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.LeftCurlyCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.LineLengthCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.LocalFinalVariableNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.LocalVariableNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.MemberNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.MethodLengthCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.MethodNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.NeedBracesCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.NoWhitespaceAfterCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.NoWhitespaceBeforeCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.OperatorWrapCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.PackageNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ParameterNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ParameterNumberCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ParenPadCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.RedundantImportCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.RedundantModifierCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.RightCurlyCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanExpressionCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanReturnCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.StaticVariableNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.TabCharacterCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.TypeNameCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UnusedImportsCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UpperEllCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.WhitespaceAfterCheck
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.WhitespaceAroundCheck
- getFormat() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
- getHeaderLines() - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- Return the header lines to check against.
- getIllegalInstantiation(String) - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- Checks illegal instantiations.
- getImportText(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractImportCheck
- Return the name of the import associated with a specifed DetailAST.
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- getMessage() - Method in class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck
- Getter for message property.
- getMethodTags(String[], int) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Returns the tags in a javadoc comment.
- getModifiers(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- Returns the set of modifier Strings for a VARIABLE_DEF AST.
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
- getParameters(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Computes the parameter nodes for a method.
- getPublicMemberRegexp() - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- getRegexp() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
- getRegexp() - Method in class com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.RedundantModifierCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanExpressionCheck
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractOption
- Returns the map from string representations to options.
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.BlockOption
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.LeftCurlyOption
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.OperatorWrapOption
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.PadOption
- getStrToOpt() - Method in class com.puppycrawl.tools.checkstyle.checks.RightCurlyOption
- getTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- getThrows(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Computes the exception nodes for a method.
- getVarNameAST(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- Returns the variable name in a VARIABLE_DEF AST.
- getVisibilityScope(Set) - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- Returns the visibility scope specified with a set of modifiers.
H
- HeaderCheck - class com.puppycrawl.tools.checkstyle.checks.HeaderCheck.
- Checks the header of the source against a fixed header file.
- HeaderCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- HeaderCheckTest - class com.puppycrawl.tools.checkstyle.checks.HeaderCheckTest.
- HeaderCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.HeaderCheckTest
- HiddenFieldCheck - class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck.
- Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
- HiddenFieldCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck
- HiddenFieldCheckTest - class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheckTest.
- HiddenFieldCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheckTest
- hasText(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.EmptyBlockCheck
I
- IllegalImportCheck - class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheck.
- Checks for imports from a set of illegal packages.
- IllegalImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheck
- Creates a new
IllegalImportCheckinstance. - IllegalImportCheckTest - class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheckTest.
- IllegalImportCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheckTest
- IllegalInstantiationCheck - class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck.
- Checks for illegal instantiations where a factory method is preferred.
- IllegalInstantiationCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheck
- IllegalInstantiationCheckTest - class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheckTest.
- IllegalInstantiationCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.IllegalInstantiationCheckTest
- InnerAssignmentCheck - class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheck.
-
Checks for assignments in subexpressions, such as in
String s = Integer.toString(i = 2);. - InnerAssignmentCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheck
- InnerAssignmentCheckTest - class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheckTest.
- InnerAssignmentCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheckTest
- inInterfaceBlock(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- Returns whether an AST is in an interface block.
- isAssignment(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.InnerAssignmentCheck
- Checks if an AST is an assignment operator.
- isAuthorTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- isBooleanLiteralReturnStatement(AST) - Static method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanReturnCheck
- Returns if an AST is a return statment with a boolean literal.
- isBooleanLiteralType(int) - Static method in class com.puppycrawl.tools.checkstyle.checks.SimplifyBooleanReturnCheck
- Checks if a token type is a literal true or false.
- isDestroyed() - Static method in class com.puppycrawl.tools.checkstyle.checks.FileSetCheckLifecycleTest.TestFileSetCheck
- isElse(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- Returns whether a token represents an ELSE.
- isElseIf(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- Returns whether a token represents an ELSE as part of an ELSE / IF set.
- isElseWithCurlyBraces(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
- Returns whether a token represents an SLIST as part of an ELSE statement.
- isFunction(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Checks whether a method is a function.
- isIgnoreLine(int) - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- isIllegalImport(String) - Method in class com.puppycrawl.tools.checkstyle.checks.IllegalImportCheck
- Checks if an import is from a package that must not be used.
- isLoadable() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
- isLoadable(String) - Method in class com.puppycrawl.tools.checkstyle.checks.ClassResolver
- isMatch(int) - Method in class com.puppycrawl.tools.checkstyle.checks.HeaderCheck
- Checks if a code line matches the required header line.
- isMatch(int) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpHeaderCheck
- isObjectParam(AST) - Method in class com.puppycrawl.tools.checkstyle.checks.EqualsHashCodeCheck
- Determines if an AST is a formal param of type Object (or subclass).
- isPackageAllowed() - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- isParamTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- isProtectedAllowed() - Method in class com.puppycrawl.tools.checkstyle.checks.VisibilityModifierCheck
- isReturnTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- isSameType(String, String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- Return if two Strings represent the same type, inspecting the import statements if necessary
- isSameType(String, String) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Return if two Strings represent the same type, inspecting the import statements if necessary
- isSeeOrInheritDocTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- isShortName(String, String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- Calculate if one type name is a shortname for another type name.
- isShortName(String, String) - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- Calculate if one type name is a shortname for another type name.
- isSubclass(Class, Class) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- Checks if one class is subclass of another
- isThrowsTag() - Method in class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- isUnchecked(Class) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
- Is exception is unchecked (subclass of
RuntimeExceptionorError
J
- JLS_ORDER - Static variable in class com.puppycrawl.tools.checkstyle.checks.ModifierOrderCheck
- The order of modifiers as suggested in sections 8.1.1, 8.3.1 and 8.4.3 of the JLS.
- JavadocMethodCheck - class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck.
- Checks the Javadoc of a method or constructor.
- JavadocMethodCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheck
- JavadocMethodCheckTest - class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheckTest.
- JavadocMethodCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocMethodCheckTest
- JavadocTag - class com.puppycrawl.tools.checkstyle.checks.JavadocTag.
- Represents a Javadoc tag.
- JavadocTag(int, String, String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- Constructs the object.
- JavadocTag(int, String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocTag
- Constructs the object.
- JavadocTypeCheck - class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheck.
- Checks the Javadoc of a type.
- JavadocTypeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheck
- JavadocTypeCheckTest - class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheckTest.
- JavadocTypeCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocTypeCheckTest
- JavadocVariableCheck - class com.puppycrawl.tools.checkstyle.checks.JavadocVariableCheck.
- Checks that a variable has Javadoc comment.
- JavadocVariableCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocVariableCheck
- JavadocVariableCheckTest - class com.puppycrawl.tools.checkstyle.checks.JavadocVariableCheckTest.
- JavadocVariableCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.JavadocVariableCheckTest
L
- LF - Static variable in class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
- Unix-style line separators.
- LeftCurlyCheck - class com.puppycrawl.tools.checkstyle.checks.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 .
- LeftCurlyCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LeftCurlyCheck
- Creates a default instance and sets the policy to EOL.
- LeftCurlyCheckTest - class com.puppycrawl.tools.checkstyle.checks.LeftCurlyCheckTest.
- LeftCurlyCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LeftCurlyCheckTest
- LeftCurlyOption - class com.puppycrawl.tools.checkstyle.checks.LeftCurlyOption.
- Represents the options for placing the left curly brace
'{'. - LeftCurlyOption(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.LeftCurlyOption
- Creates a new
LeftCurlyOptioninstance. - LineLengthCheck - class com.puppycrawl.tools.checkstyle.checks.LineLengthCheck.
- Checks for long lines.
- LineLengthCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LineLengthCheck
- Creates a new
LineLengthCheckinstance. - LineLengthCheckTest - class com.puppycrawl.tools.checkstyle.checks.LineLengthCheckTest.
- LineLengthCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LineLengthCheckTest
- LineSeparatorOption - class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption.
- Represents the options for line separator settings.
- LineSeparatorOption(String, String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.LineSeparatorOption
- Creates a new
LineSeparatorOptioninstance. - LocalFinalVariableNameCheck - class com.puppycrawl.tools.checkstyle.checks.LocalFinalVariableNameCheck.
- Checks that local final variable names conform to a format specified by the format property.
- LocalFinalVariableNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LocalFinalVariableNameCheck
- Creates a new
LocalFinalVariableNameCheckinstance. - LocalFinalVariableNameCheckTest - class com.puppycrawl.tools.checkstyle.checks.LocalFinalVariableNameCheckTest.
- LocalFinalVariableNameCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LocalFinalVariableNameCheckTest
- LocalVariableNameCheck - class com.puppycrawl.tools.checkstyle.checks.LocalVariableNameCheck.
- Checks that local, non-final variable names conform to a format specified by the format property.
- LocalVariableNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LocalVariableNameCheck
- Creates a new
LocalVariableNameCheckinstance. - LocalVariableNameCheckTest - class com.puppycrawl.tools.checkstyle.checks.LocalVariableNameCheckTest.
- LocalVariableNameCheckTest() - Constructor for class com.puppycrawl.tools.checkstyle.checks.LocalVariableNameCheckTest
- leaveToken(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.HiddenFieldCheck