- MapIterationInForEachLoopCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
This check can help you to write the whole for-each map iteration more
correctly.
- MapIterationInForEachLoopCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
Creates default importList and mapImportClassesNamesList.
- MoveVariableInsideIfCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
Checks if a variable is only used inside if statements and asks for its
declaration to be moved there too.
- MoveVariableInsideIfCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.MoveVariableInsideIfCheck
-
- MSG_CONSTRUCTOR_WITH_RETURN_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_CONTRADICTING_CLASS_LEVEL_ANNOTATIONS - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_CONTRADICTING_RETURN_VALUE_ANNOTATIONS - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_ILLEGAL_CLASS_LEVEL_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_IN_NOT_DERIVED_CLASS - Static variable in class com.github.sevntu.checkstyle.checks.coding.UselessSuperCtorCallCheck
-
Violation message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationCheck
-
A key is used to retrieve check message from 'messages.properties' file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationElementValueCheck
-
Message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.annotation.RequiredParameterForAnnotationCheck
-
Key for error message.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.AvoidConstantAsFirstOperandInConditionCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.AvoidDefaultSerializableInInnerClassesCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.AvoidHidingCauseExceptionCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
The key is pointing to the message text String in
"messages.properties file".
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.AvoidNotShortCircuitOperatorsForBooleanCheck
-
A key to search the warning message text in "messages.properties" file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
The key is pointing to the message text String in
"messages.properties file".This message used for common cases.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.DiamondOperatorForVariableDefinitionCheck
-
A key is pointing to the warning message text in "messages.properties" file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.EitherLogOrThrowCheck
-
Key for error message.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.EmptyPublicCtorInClassCheck
-
Violation message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidCCommentsInMethodsCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainMethodCheck
-
Key is pointing to the warning message text in "messages.properties" file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidInstantiationCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidReturnInFinallyBlockCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ForbidThrowAnonymousExceptionsCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.IllegalCatchExtendedCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.LogicConditionNeedOptimizationCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.MoveVariableInsideIfCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.NameConventionForJunit4TestClassesCheck
-
Violation message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.NoNullForCollectionReturnCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Key for error message.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.OverridableMethodInConstructorCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.RedundantReturnCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.RequireFailForTryCatchInJunitCheck
-
Violation message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ReturnBooleanFromTernaryCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.ReturnNullInsteadOfBooleanCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.SingleBreakOrContinueCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.TernaryPerExpressionCountCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.UselessSingleCatchCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.coding.WhitespaceBeforeArrayInitializerCheck
-
Violation message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.AvoidConditionInversionCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.CauseParameterInExceptionCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.ChildBlockLengthCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.ConstructorWithoutParamsCheck
-
This key points to the warning message in the "messages.properties" file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Key for error message.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.HideUtilityClassConstructorCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.InnerClassCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.NestedSwitchCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.NoMainMethodInAbstractClassCheck
-
Key for error message.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.PublicReferenceToPrivateTypeCheck
-
Check message key for private types.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.design.StaticMethodCandidateCheck
-
Warning message key.
- MSG_KEY - Static variable in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Warning message key.
- MSG_KEY_ASSIGN - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_CLASS - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_CONFIG_NOT_ASSIGNED - Static variable in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
Violations message.
- MSG_KEY_CONFIG_NOT_ASSIGNED_PROPERLY - Static variable in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
Violations message.
- MSG_KEY_CONFIG_NOT_ASSIGNED_WITH - Static variable in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
Violations message.
- MSG_KEY_CONFIG_NOT_FOUND - Static variable in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
Violations message.
- MSG_KEY_CONSTRUCTOR - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_CTOR - Static variable in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_ENTRYSET - Static variable in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_ENUM - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_EXPR - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_FIELD - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_GETTER - Static variable in class com.github.sevntu.checkstyle.checks.coding.SimpleAccessorNameNotationCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_IDENT - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_INTERFACE - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_INVALID_SETTER - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_KEYSET - Static variable in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_LAMBDA - Static variable in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_LEADS - Static variable in class com.github.sevntu.checkstyle.checks.coding.OverridableMethodInConstructorCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_LITERAL - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_METHOD - Static variable in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_METHOD - Static variable in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_MISSED_SUPER_FINALIZE_CALL - Static variable in class com.github.sevntu.checkstyle.checks.coding.FinalizeImplementationCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_MISSED_TRY_FINALLY - Static variable in class com.github.sevntu.checkstyle.checks.coding.FinalizeImplementationCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_PUBLIC_FINALIZE - Static variable in class com.github.sevntu.checkstyle.checks.coding.FinalizeImplementationCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_RETURN - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_SETTER - Static variable in class com.github.sevntu.checkstyle.checks.coding.SimpleAccessorNameNotationCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_STRING - Static variable in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Warning message key.
- MSG_KEY_UNKNOWN_PROPERTY - Static variable in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
Violations message.
- MSG_KEY_USELESS_FINALIZE - Static variable in class com.github.sevntu.checkstyle.checks.coding.FinalizeImplementationCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_KEY_VALUES - Static variable in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
The key is pointing to the warning message text in "messages.properties"
file.
- MSG_METHOD_REF - Static variable in class com.github.sevntu.checkstyle.checks.coding.PreferMethodReferenceCheck
-
A key is pointing to the warning message text in "messages.properties"
file.
- MSG_NEED_TO_INHERIT_PARAM_ANNOTATIONS - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_NOT_VALID_MULTI - Static variable in class com.github.sevntu.checkstyle.checks.naming.UniformEnumConstantNameCheck
-
Message code for format violations.
- MSG_NOT_VALID_SINGLE - Static variable in class com.github.sevntu.checkstyle.checks.naming.UniformEnumConstantNameCheck
-
Message code for format violations.
- MSG_OVERRIDDEN_METHOD_WITH_CHECK_RETURN_VALUE - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_OVERRIDDEN_METHODS_ALLOW_ONLY_NONNULL - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_OVERRIDDEN_WITH_INCREASED_CONSTRAINT - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_DEFINITION_WITH_NONNULL_BY_DEFAULT - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_DEFINITION_WITH_NULLABLE_BY_DEFAULT - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_DEFINITION_WITH_OVERRIDE - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_DEFINITION_WITH_RETURN_DEFAULT - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_DEFINITIONS_WITH_CHECK - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAM_NONNULL_AND_NULLABLE - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PARAMETER_WITHOUT_NULLNESS_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_PRIMITIVES_WITH_NULLNESS_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_REDUNDANT_NONNULL_BY_DEFAULT_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_REDUNDANT_NONNULL_PARAM_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_REDUNDANT_NONNULL_RETURN_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_REDUNDANT_NULLABLE_BY_DEFAULT_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_REDUNDANT_NULLABLE_PARAM_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_RETURN_VALUE_WITH_NONNULL_BY_DEFAULT - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_RETURN_VALUE_WITH_NULLABLE - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_RETURN_WITHOUT_NULLNESS_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_VAR_DECLARATIONS - Static variable in class com.github.sevntu.checkstyle.checks.coding.MultipleVariableDeclarationsExtendedCheck
-
Warning message key.
- MSG_VAR_DECLARATIONS_COMMA - Static variable in class com.github.sevntu.checkstyle.checks.coding.MultipleVariableDeclarationsExtendedCheck
-
Warning message key.
- MSG_VOID_WITH_CHECK_RETURN_VALUE_ANNOTATION - Static variable in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Key for violation message.
- MSG_WITHOUT_ARGS - Static variable in class com.github.sevntu.checkstyle.checks.coding.UselessSuperCtorCallCheck
-
Violation message key.
- MultipleStringLiteralsExtendedCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
Checks for multiple occurrences of the same string literal within a single file.
- MultipleStringLiteralsExtendedCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
Construct an instance with default values.
- MultipleVariableDeclarationsExtendedCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
Checks that each variable declaration is in its own statement and on its own line.
- MultipleVariableDeclarationsExtendedCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.MultipleVariableDeclarationsExtendedCheck
-
- mustCheckName(DetailAST) - Method in class com.github.sevntu.checkstyle.checks.naming.EnumValueNameCheck
-
- mustCheckName(DetailAST) - Method in class com.github.sevntu.checkstyle.checks.naming.InterfaceTypeParameterNameCheck
-
- setAllowCallToNoArgsSuperCtor(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.UselessSuperCtorCallCheck
-
Sets flag to allowCallToNoArgsSuperCtor.
- setAllowCallToNoArgsSuperCtorIfMultiplePublicCtor(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.UselessSuperCtorCallCheck
-
Sets flag to allowCallToNoArgsSuperCtorIfMultiplePublicCtor.
- setAllowedCauseTypes(String...) - Method in class com.github.sevntu.checkstyle.checks.design.CauseParameterInExceptionCheck
-
Sets the names of classes which would be considered as Exception cause.
- setAllowedDuplicates(int) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
Sets the maximum allowed duplicates of a string.
- setAllowOverridingParameter(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Sets the property for allowing overriding parameters.
- setAllowOverridingReturnValue(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Sets the property for allowing overriding return values.
- setAllowPartialImplementation(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidDefaultSerializableInInnerClassesCheck
-
Set allow partly implementation serializable interface.
- setAllowRethrow(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.IllegalCatchExtendedCheck
-
Enable(false) | Disable(true) warnings for "catch" blocks containing
rethrowing an exception.
- setAllowReturnInEmptyMethodsAndConstructors(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.RedundantReturnCheck
-
Setter for allowReturnInEmptyMethodsAndConstructors.
- setAllowReturnWildcardWithExtends(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for allowReturnWildcardWithExtends.
- setAllowReturnWildcardWithSuper(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for allowReturnWildcardWithSuper.
- setAllowThrow(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.IllegalCatchExtendedCheck
-
Enable(false) | Disable(true) warnings for "catch" blocks containing
throwing an exception.
- setAnnotationName(String) - Method in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationElementValueCheck
-
Sets Annotation Name Check property.
- setAnnotationName(String) - Method in class com.github.sevntu.checkstyle.checks.annotation.RequiredParameterForAnnotationCheck
-
The annotation name we are interested in.
- setAnnotationNames(String...) - Method in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationCheck
-
Setter for annotationNames.
- setAnnotationTargets(String...) - Method in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationCheck
-
Getter for annotationNames.
- setApplyOnlyToRelationalOperands(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.AvoidConditionInversionCheck
-
Setter for applyOnlyToRelationalOperands.
- setArgumentCount(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainMethodCheck
-
Set number or range to match number of arguments of the forbidden method.
- setBlockTypes(String...) - Method in class com.github.sevntu.checkstyle.checks.design.ChildBlockLengthCheck
-
Sets allowed types of blocks to be checked.
- setCaseSensitive(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
Set whether or not the match is case sensitive.
- setCheckCloneMethod(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.OverridableMethodInConstructorCheck
-
Enable|Disable searching of calls to overridable methods from body of any
clone() method is implemented from Cloneable interface.
- setCheckDeprecatedMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkDeprecatedMethods.
- setCheckOverrideMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkOverrideMethods.
- setCheckPackageMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkPackageMethods.
- setCheckPrivateMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkPrivateMethods.
- setCheckProtectedMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkProtectedMethods.
- setCheckPublicMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for checkPublicMethods.
- setCheckReadObjectMethod(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.OverridableMethodInConstructorCheck
-
Enable|Disable searching of calls to overridable methods from body of any
readObject() method is implemented from Serializable interface.
- setClassAnnotationNameRegex(String) - Method in class com.github.sevntu.checkstyle.checks.coding.NameConventionForJunit4TestClassesCheck
-
Sets class test annotation name regexp for JUnit tests.
- setClassAnnotationNames(String) - Method in class com.github.sevntu.checkstyle.checks.coding.EmptyPublicCtorInClassCheck
-
Sets regex which matches names of class annotations which require class to have public
no-argument ctor.
- setClassNameFormat(String) - Method in class com.github.sevntu.checkstyle.checks.design.ConstructorWithoutParamsCheck
-
Sets the classNameFormat based on the XML configuration value.
- setClassNamesRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.design.CauseParameterInExceptionCheck
-
Sets the regexp for the names of classes, that should be checked.
- setCollectionList(String) - Method in class com.github.sevntu.checkstyle.checks.coding.NoNullForCollectionReturnCheck
-
Setter for list of known collections.
- setCreateMethodRegexp(Pattern) - Method in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
- setCtorAnnotationNames(String) - Method in class com.github.sevntu.checkstyle.checks.coding.EmptyPublicCtorInClassCheck
-
Sets regex which matches names of ctor annotations which make empty public ctor essential.
- setCustomDeclarationOrder(String) - Method in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
Set custom order declaration from string with user rules.
- setDetectForExpression(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.PreferMethodReferenceCheck
-
Setter to enable detection for cases when method in lambda is invoked on expression.
- setElementName(String) - Method in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationElementValueCheck
-
Sets Annotation Element Check property.
- setExceptionClassNameRegex(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidThrowAnonymousExceptionsCheck
-
Setter for pattern.
- setExcludePackages(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Sets the excluded packages property.
- setExpectedClassNameRegex(String) - Method in class com.github.sevntu.checkstyle.checks.coding.NameConventionForJunit4TestClassesCheck
-
Sets regexp to match 'expected' class names for JUnit tests.
- setFieldPrefix(String) - Method in class com.github.sevntu.checkstyle.checks.coding.CustomDeclarationOrderCheck
-
Set prefix of class fields.
- setForbiddenClasses(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidInstantiationCheck
-
Sets a classNames&Paths for objects that are forbidden to instantiate.
- setForbiddenClassesRegexpAnnotation(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'annotation'
modifier.
- setForbiddenClassesRegexpFinal(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'final'
modifier.
- setForbiddenClassesRegexpPackagePrivate(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have no modifier
('package-private').
- setForbiddenClassesRegexpPrivate(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'private'
modifier.
- setForbiddenClassesRegexpProtected(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'protected'
modifier.
- setForbiddenClassesRegexpPublic(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'public'
modifier.
- setForbiddenClassesRegexpStatic(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'static'
modifier.
- setForbiddenClassesRegexpTransient(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'transient'
modifier.
- setForbiddenClassesRegexpVolatile(String) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidModifiersForTypesCheck
-
Sets the regexp for the names of classes, that could not have 'volatile'
modifier.
- setForbiddenElementValueRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.annotation.ForbidAnnotationElementValueCheck
-
Sets Forbidden Element Value Pattern Check property.
- setForbiddenImportsExcludesRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck
-
Sets the regexp for excluding imports from checking.
- setForbiddenImportsRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck
-
Sets the regexp for matching forbidden imports.
- setFormats(String...) - Method in class com.github.sevntu.checkstyle.checks.naming.UniformEnumConstantNameCheck
-
Method sets format to match Class Enumeration names.
- setHighlightAllDuplicates(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
Sets highlight for all duplicates or only first.
- setIgnoreBlockLinesCount(int) - Method in class com.github.sevntu.checkstyle.checks.design.ChildBlockLengthCheck
-
Sets the maximum linelength of blocks that will be ignored by check.
- setIgnoreCalculationOfBooleanVariables(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Sets flag to IgnoreCalculationOfBooleanVariables.
- setIgnoreCalculationOfBooleanVariablesWithAssert(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Sets flag to IgnoreCalculationOfBooleanVariablesWithAssert.
- setIgnoreCalculationOfBooleanVariablesWithReturn(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.UnnecessaryParenthesesExtendedCheck
-
Sets flag to IgnoreCalculationOfBooleanVariablesWithReturn.
- setIgnoreClass(boolean) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Enable|Disable checking class declaration length.
- setIgnoreConstructor(boolean) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Enable|Disable checking constructor declaration length.
- setIgnoreCycles(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleVariableDeclarationsExtendedCheck
-
Enable|Disable declaration checking in cycles.
- setIgnoredClassNameFormat(String) - Method in class com.github.sevntu.checkstyle.checks.design.ConstructorWithoutParamsCheck
-
Sets the ignoredClassNameFormat based on the XML configuration value.
- setIgnoredClassNamesRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.design.CauseParameterInExceptionCheck
-
Sets the regexp for the names of classes, that should be ignored by
check.
- setIgnoreEmptyReturns(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets the "ignoring empty return statements in void methods and ctors and lambdas"
option state.
- setIgnoreField(boolean) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Enable|Disable checking field declaration length.
- setIgnoreFieldNamePattern(String) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets the regexp pattern for field names to ignore.
- setIgnoreInnerIf(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
Enable(true) | Disable(false) warnings for all inner "if".
- setIgnoreIsolatedTernaryOnLine(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.TernaryPerExpressionCountCheck
-
Sets parameter to ignore expressions in case if ternary operator is isolated in line.
- setIgnoreMethod(boolean) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Enable|Disable checking method declaration length.
- setIgnoreMethodLinesCount(int) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets the maximum number of lines of which method/ctor/lambda body may consist to
be skipped by check.
- setIgnoreMethods(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleVariableDeclarationsExtendedCheck
-
Enable|Disable declaration checking in Methods.
- setIgnoreMethodsNames(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets the RegExp patterns for methods' names which would be ignored by check.
- setIgnoreNullCaseInIf(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
Disable(true) | Enable(false) warnings.
- setIgnoreOccurrenceContext(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
Adds a set of tokens the check is interested in.
- setIgnorePattern(String) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Set the ignore pattern.
- setIgnoreSequentialIf(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
Enable(true) | Disable(false) warnings for all "if" that follows the
"else".
- setIgnoreStringsRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.coding.MultipleStringLiteralsExtendedCheck
-
Sets regexp pattern for ignored strings.
- setIgnoreTernaryOperatorsInBraces(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.TernaryPerExpressionCountCheck
-
Sets parameter to ignore ternary operators in braces, default value =
true.
- setIgnoreThrowInElse(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
Disable(true) | Enable(false) warnings.
- setIllegalClassNames(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.IllegalCatchExtendedCheck
-
Set the list of illegal classes.
- setLoggerFullyQualifiedClassName(String) - Method in class com.github.sevntu.checkstyle.checks.coding.EitherLogOrThrowCheck
-
Set logger full class name and logger simple class name.
- setLoggingMethodNames(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.EitherLogOrThrowCheck
-
Set logging method names.
- setMatchMethodsByArgCount(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.OverridableMethodInConstructorCheck
-
Enable|Disable matching methods by arguments count.
- setMax(int) - Method in class com.github.sevntu.checkstyle.checks.design.NestedSwitchCheck
-
Setter for maximum allowed nesting depth.
- setMax(int) - Method in class com.github.sevntu.checkstyle.checks.sizes.LineLengthExtendedCheck
-
Setter for the field max.
- setMaxBinarySymbolsUntilUnderscore(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters there can be until there must be an underscore (binary
literals).
- setMaxChildBlockPercentage(int) - Method in class com.github.sevntu.checkstyle.checks.design.ChildBlockLengthCheck
-
Sets the maximum percentage ratio between child and parent block.
- setMaxDecimalSymbolsUntilUnderscore(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters there can be until there must be an underscore (for decimal
literals).
- setMaxHexSymbolsUntilUnderscore(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters there can be until there must be an underscore (for hex
literals).
- setMaxReturnCount(int) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets maximum allowed "return" literals count per method/ctor/lambda.
- setMaxTernaryPerExpressionCount(int) - Method in class com.github.sevntu.checkstyle.checks.coding.TernaryPerExpressionCountCheck
-
Sets the maximum number of ternary operators, default value = 1.
- setMethodAnnotationNameRegex(String) - Method in class com.github.sevntu.checkstyle.checks.coding.NameConventionForJunit4TestClassesCheck
-
Sets method test annotation name regexp for JUnit tests.
- setMethodName(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainMethodCheck
-
Set method name regex for the forbidden method.
- setMinBinarySymbolLength(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters in a byte literal there must be before it checks for an
underscore.
- setMinDecimalSymbolLength(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters in a decimal literal there must be before it checks for an
underscore.
- setMinHexSymbolLength(int) - Method in class com.github.sevntu.checkstyle.checks.coding.NumericLiteralNeedsUnderscoreCheck
-
Sets how many characters in a hex literal there must be before it checks for an
underscore.
- setMinIgnoreReturnDepth(int) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets the minimum "return" statement depth with that will be skipped by
check.
- setMultiplyFactorForElseBlocks(int) - Method in class com.github.sevntu.checkstyle.checks.coding.ConfusingConditionCheck
-
Sets multiplyFactorForElseBlocks field.
- setPackageNameRegexp(String) - Method in class com.github.sevntu.checkstyle.checks.coding.ForbidCertainImportsCheck
-
Sets the regexp for matching package fully qualified name.
- setPackages(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.Jsr305AnnotationsCheck
-
Sets the included packages property.
- setPrefix(String) - Method in class com.github.sevntu.checkstyle.checks.coding.SimpleAccessorNameNotationCheck
-
Setter for prefix.
- setProposeEntrySetUsage(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
Set aProcessingEntrySet.
- setProposeKeySetUsage(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
Set aProcessingKeySet.
- setProposeValuesUsage(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
Set aProcessingValue.
- setRequiredParameters(String...) - Method in class com.github.sevntu.checkstyle.checks.annotation.RequiredParameterForAnnotationCheck
-
The required list of parameters we have to use.
- setReturnTypeClassNamesIgnoreRegex(String) - Method in class com.github.sevntu.checkstyle.checks.design.ForbidWildcardAsReturnTypeCheck
-
Setter for returnTypeClassNamesIgnoreRegex.
- setSearchThroughMethodBody(boolean) - Method in class com.github.sevntu.checkstyle.checks.coding.NoNullForCollectionReturnCheck
-
Setter for searching through body of the method.
- setSkippedMethods(String) - Method in class com.github.sevntu.checkstyle.checks.design.StaticMethodCandidateCheck
-
Sets custom skipped methods.
- setSupportedMapImplQualifiedNames(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.MapIterationInForEachLoopCheck
-
Set user's map implementations.
- setTargetConstantTypes(String...) - Method in class com.github.sevntu.checkstyle.checks.coding.AvoidConstantAsFirstOperandInConditionCheck
-
Set target constant types.
- setTopLinesToIgnoreCount(int) - Method in class com.github.sevntu.checkstyle.checks.coding.ReturnCountExtendedCheck
-
Sets the count of code lines on the top of each
processed method/ctor that will be ignored by check.
- setVerifyMethodRegexp(Pattern) - Method in class com.github.sevntu.checkstyle.checks.design.CheckstyleTestMakeupCheck
-
- SevntuUtil - Class in com.github.sevntu.checkstyle
-
Simple utility class for all sevntu checks.
- SimpleAccessorNameNotationCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
This check verify incorrect name of setter and getter methods if it used
field with other name.
- SimpleAccessorNameNotationCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.SimpleAccessorNameNotationCheck
-
- SingleBreakOrContinueCheck - Class in com.github.sevntu.checkstyle.checks.coding
-
This check restricts the number of break and continue statements inside cycle body (only one is
allowed).
- SingleBreakOrContinueCheck() - Constructor for class com.github.sevntu.checkstyle.checks.coding.SingleBreakOrContinueCheck
-
- StaticMethodCandidateCheck - Class in com.github.sevntu.checkstyle.checks.design
-
Checks whether private methods can be declared as static.
- StaticMethodCandidateCheck() - Constructor for class com.github.sevntu.checkstyle.checks.design.StaticMethodCandidateCheck
-