JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
All Classes
SEARCH:
JavaScript is disabled on your browser.
@ParametersAreNonnullByDefault
Package org.sonar.java.checks
Class Summary
Class
Description
AbsOnNegativeCheck
AbstractBadFieldNameChecker
AbstractCallToDeprecatedCodeChecker
AbstractClassNoFieldShouldBeInterfaceCheck
AbstractClassWithoutAbstractMethodCheck
AbstractDeprecatedChecker
AbstractForLoopRule
AbstractForLoopRule.ForLoopIncrement
AbstractForLoopRule.ForLoopInitializer
AbstractForLoopRule.IntVariable
AbstractInSynchronizeChecker
AbstractPrintfChecker
AbstractSerializableInnerClassRule
AccessibilityChangeCheck
AllBranchesAreIdenticalCheck
AnnotationDefaultArgumentCheck
AnonymousClassesTooBigCheck
AnonymousClassShouldBeLambdaCheck
ArrayCopyLoopCheck
ArrayDesignatorAfterTypeCheck
ArrayDesignatorOnVariableCheck
ArrayForVarArgCheck
ArrayHashCodeAndToStringCheck
ArraysAsListOfPrimitiveToStreamCheck
AssertOnBooleanVariableCheck
AssertsOnParametersOfPublicMethodCheck
AssignmentInSubExpressionCheck
AtLeastOneConstructorCheck
AvoidDESCheck
BasicAuthCheck
BigDecimalDoubleConstructorCheck
BooleanInversionCheck
BooleanLiteralCheck
BooleanMethodReturnCheck
BoxedBooleanExpressionsCheck
CallOuterPrivateMethodCheck
CallSuperMethodFromInnerClassCheck
CallToDeprecatedCodeMarkedForRemovalCheck
CallToDeprecatedMethodCheck
CallToFileDeleteOnExitMethodCheck
CaseInsensitiveComparisonCheck
CastArithmeticOperandCheck
CatchExceptionCheck
CatchIllegalMonitorStateExceptionCheck
CatchNPECheck
CatchOfThrowableOrErrorCheck
CatchRethrowingCheck
CatchUsesExceptionWithContextCheck
ChangeMethodContractCheck
CheckList
ChildClassShadowFieldCheck
ClassComparedByNameCheck
ClassComplexityCheck
ClassCouplingCheck
ClassFieldCountCheck
ClassVariableVisibilityCheck
ClassWithOnlyStaticMethodsInstantiationCheck
ClassWithoutHashCodeInHashStructureCheck
CloneableImplementingCloneCheck
CloneMethodCallsSuperCloneCheck
CloneOverrideCheck
CognitiveComplexityMethodCheck
CollapsibleIfCandidateCheck
CollectInsteadOfForeachCheck
CollectionCallingItselfCheck
CollectionImplementationReferencedCheck
CollectionInappropriateCallsCheck
CollectionIsEmptyCheck
CollectionMethodsWithLinearComplexityCheck
CollectionsEmptyConstantsCheck
CollectionSizeAndArrayLengthCheck
CombineCatchCheck
CommentContainsPatternChecker
CommentedOutCodeLineCheck
CommentRegularExpressionCheck
CompareObjectWithEqualsCheck
CompareStringsBoxedTypesWithEqualsCheck
CompareToNotOverloadedCheck
CompareToResultTestCheck
CompareToReturnValueCheck
CompareWithEqualsVisitor
ConcatenationWithStringValueOfCheck
ConditionalOnNewLineCheck
ConfusingOverloadCheck
ConfusingVarargCheck
ConstantMathCheck
ConstantMethodCheck
ConstantsShouldBeStaticFinalCheck
ConstructorCallingOverridableCheck
ConstructorInjectionCheck
ControlCharacterInLiteralCheck
CookieDomainCheck
CORSCheck
CustomCryptographicAlgorithmCheck
DanglingElseStatementsCheck
DateAndTimesCheck
DateFormatWeekYearCheck
DateUtilsTruncateCheck
DeadStoreCheck
DefaultEncodingUsageCheck
DefaultInitializedFieldCheck
DefaultPackageCheck
DeprecatedHashAlgorithmCheck
DeprecatedTagPresenceCheck
DiamondOperatorCheck
DisallowedClassCheck
DisallowedConstructorCheck
DisallowedMethodCheck
DisallowedThreadGroupCheck
DITCheck
DoubleBraceInitializationCheck
DoubleCheckedLockingAssignmentCheck
DoublePrefixOperatorCheck
DuplicateArgumentCheck
DuplicateConditionIfElseIfCheck
DynamicClassLoadCheck
EmptyBlockCheck
EmptyClassCheck
EmptyFileCheck
EmptyMethodsCheck
EmptyStatementUsageCheck
EnumEqualCheck
EnumMapCheck
EnumMutableFieldCheck
EnumSetCheck
EqualsArgumentTypeCheck
EqualsNotOverriddenInSubclassCheck
EqualsNotOverridenWithCompareToCheck
EqualsOnAtomicClassCheck
EqualsOverridenWithHashCodeCheck
EqualsParametersMarkedNonNullCheck
ErrorClassExtendedCheck
EscapedUnicodeCharactersCheck
ExceptionsShouldBeImmutableCheck
ExpressionComplexityCheck
FieldModifierCheck
FileCreateTempFileCheck
FileHeaderCheck
FilesExistsJDK8Check
FinalClassCheck
FinalizeFieldsSetCheck
FixmeTagPresenceCheck
FloatEqualityCheck
ForLoopCounterChangedCheck
ForLoopFalseConditionCheck
ForLoopIncrementAndUpdateCheck
ForLoopIncrementSignCheck
ForLoopTerminationConditionCheck
ForLoopUsedAsWhileLoopCheck
ForLoopVariableTypeCheck
GarbageCollectorCalledCheck
GetClassLoaderCheck
GetRequestedSessionIdCheck
GettersSettersOnRightFieldCheck
HardCodedCredentialsCheck
HardcodedIpCheck
HardcodedURICheck
HasNextCallingNextCheck
HiddenFieldCheck
HttpRefererCheck
IdenticalCasesInSwitchCheck
IdenticalCasesInSwitchCheck.IfElseChain
IdenticalOperandOnBinaryExpressionCheck
IfConditionAlwaysTrueOrFalseCheck
IfElseIfStatementEndsWithElseCheck
IgnoredOperationStatusCheck
IgnoredReturnValueCheck
IgnoredStreamReturnValueCheck
ImmediatelyReturnedVariableCheck
ImmediateReverseBoxingCheck
ImplementsEnumerationCheck
InappropriateRegexpCheck
IncorrectOrderOfMembersCheck
IncrementDecrementInSubExpressionCheck
IndentationAfterConditionalCheck
IndentationCheck
IndexOfStartPositionCheck
IndexOfWithPositiveNumberCheck
InnerClassOfNonSerializableCheck
InnerClassOfSerializableCheck
InnerClassTooManyLinesCheck
InnerStaticClassesCheck
InputStreamOverrideReadCheck
InputStreamReadCheck
InstanceOfAlwaysTrueCheck
InstanceofUsedOnExceptionCheck
InterfaceAsConstantContainerCheck
InterfaceOrSuperclassShadowingCheck
InterruptedExceptionCheck
InvalidDateValuesCheck
IterableIteratorCheck
IteratorNextExceptionCheck
JacksonDeserializationCheck
JavaFootprint
JdbcDriverExplicitLoadingCheck
KeySetInsteadOfEntrySetCheck
LabelsShouldNotBeUsedCheck
LambdaOptionalParenthesisCheck
LambdaSingleExpressionCheck
LambdaTooBigCheck
LambdaTypeParameterCheck
LazyArgEvaluationCheck
LeastSpecificTypeCheck
LeftCurlyBraceBaseTreeVisitor
LeftCurlyBraceEndLineCheck
LeftCurlyBraceStartLineCheck
LoggedRethrownExceptionsCheck
LoggerClassCheck
LoggersDeclarationCheck
LongBitsToDoubleOnIntCheck
LoopExecutingAtMostOnceCheck
LoopsOnSameSetCheck
MagicNumberCheck
MainInServletCheck
MainMethodThrowsExceptionCheck
MathOnFloatCheck
MembersDifferOnlyByCapitalizationCheck
MethodComplexityCheck
MethodIdenticalImplementationsCheck
MethodOnlyCallsSuperCheck
MethodParametersOrderCheck
MethodTooBigCheck
MethodWithExcessiveReturnsCheck
MismatchPackageDirectoryCheck
MissingBeanValidationCheck
MissingCurlyBracesCheck
MissingDeprecatedCheck
MissingNewLineAtEndOfFileCheck
ModifiersOrderCheck
ModulusEqualityCheck
MultilineBlocksCurlyBracesCheck
MutableMembersUsageCheck
NestedBlocksCheck
NestedEnumStaticCheck
NestedIfStatementsCheck
NestedSwitchStatementCheck
NestedTernaryOperatorsCheck
NestedTryCatchCheck
NioFileDeleteCheck
NoCheckstyleTagPresenceCheck
NonShortCircuitLogicCheck
NonStaticClassInitializerCheck
NoPmdTagPresenceCheck
NoSonarCheck
NotifyCheck
NPEThrowCheck
NullCheckWithInstanceofCheck
NullCipherCheck
NullDereferenceInConditionalCheck
NullShouldNotBeUsedWithOptionalCheck
ObjectCreatedOnlyToCallGetClassCheck
ObjectDeserializationCheck
ObjectFinalizeCheck
ObjectFinalizeOverloadedCheck
ObjectFinalizeOverridenCallsSuperFinalizeCheck
ObjectFinalizeOverridenCheck
ObjectFinalizeOverridenNotPublicCheck
OctalValuesCheck
OneClassInterfacePerFileCheck
OneDeclarationPerLineCheck
OperatorPrecedenceCheck
OptionalAsParameterCheck
OutputStreamOverrideWriteCheck
OverrideAnnotationCheck
OverwrittenKeyCheck
PackageInfoCheck
ParameterReassignedToCheck
ParsingErrorCheck
PatternUtils
PopulateBeansCheck
PredictableSeedCheck
PreferStreamAnyMatchCheck
PreparedStatementAndResultSetCheck
PrimitivesMarkedNullableCheck
PrimitiveTypeBoxingWithToStringCheck
PrimitiveWrappersInTernaryOperatorCheck
PrintfFailCheck
PrintfMisuseCheck
PrintStackTraceCalledWithoutArgumentCheck
PrivateFieldUsedLocallyCheck
Current implementation raises the issue only for the fields used in one method
ProtectedMemberInFinalClassCheck
PseudoRandomCheck
PublicStaticFieldShouldBeFinalCheck
PublicStaticMutableMembersCheck
RandomFloatToIntCheck
RawByteBitwiseOperationsCheck
RawExceptionCheck
RawTypeCheck
ReadObjectSynchronizedCheck
RedundantAbstractMethodCheck
RedundantCloseCheck
RedundantJumpCheck
RedundantModifierCheck
RedundantStreamCollectCheck
RedundantThrowsDeclarationCheck
RedundantTypeCastCheck
ReflectionOnNonRuntimeAnnotationCheck
RegexPatternsNeedlesslyCheck
RepeatAnnotationCheck
ReplaceGuavaWithJava8Check
ReplaceLambdaByMethodRefCheck
ResultSetIsLastCheck
ReturnEmptyArrayNotNullCheck
ReturnInFinallyCheck
ReturnOfBooleanExpressionsCheck
ReuseRandomCheck
RightCurlyBraceDifferentLineAsNextBlockCheck
RightCurlyBraceSameLineAsNextBlockCheck
RightCurlyBraceStartLineCheck
RightCurlyBraceToNextBlockAbstractVisitor
RSAUsesOAEPCheck
RunFinalizersCheck
SAMAnnotatedCheck
ScheduledThreadPoolExecutorZeroCheck
SelectorMethodArgumentCheck
SelfAssignementCheck
ServletInstanceFieldCheck
ServletMethodsExceptionsThrownCheck
SeveralBreakOrContinuePerLoopCheck
ShiftOnIntOrLongCheck
SillyBitOperationCheck
SillyEqualsCheck
SillyStringOperationsCheck
SimpleClassNameCheck
SpecializedFunctionalInterfacesCheck
SpringConstructorInjectionCheck
SQLInjectionCheck
StandardCharsetsConstantsCheck
StandardFunctionalInterfaceCheck
StaticFieldInitializationCheck
StaticFieldUpateCheck
StaticFieldUpdateInConstructorCheck
StaticImportCountCheck
StaticMemberAccessCheck
StaticMembersAccessCheck
StaticMethodCheck
StaticMultithreadedUnsafeFieldsCheck
StreamPeekCheck
StringBufferAndBuilderWithCharCheck
StringCallsBeyondBoundsCheck
StringConcatenationInLoopCheck
StringLiteralDuplicatedCheck
StringLiteralInsideEqualsCheck
StringMethodsOnSingleCharCheck
StringMethodsWithLocaleCheck
StringOffsetMethodsCheck
StringPrimitiveConstructorCheck
StringToPrimitiveConversionCheck
StringToStringCheck
StrongCipherAlgorithmCheck
Struts1EndpointCheck
Struts2EndpointCheck
SubClassStaticReferenceCheck
SunPackagesUsedCheck
SuppressWarningsCheck
SuspiciousListRemoveCheck
SwitchAtLeastThreeCasesCheck
SwitchCaseTooBigCheck
SwitchCaseWithoutBreakCheck
SwitchDefaultLastCaseCheck
SwitchInsteadOfIfSequenceCheck
SwitchLastCaseIsDefaultCheck
SwitchWithLabelsCheck
SwitchWithTooManyCasesCheck
SymmetricEqualsCheck
SyncGetterAndSetterCheck
SynchronizationOnStringOrBoxedCheck
SynchronizedClassUsageCheck
SynchronizedFieldAssignmentCheck
SynchronizedLockCheck
SynchronizedOverrideCheck
SystemExitCalledCheck
SystemOutOrErrUsageCheck
TabCharacterCheck
TernaryOperatorCheck
ThisExposedFromConstructorCheck
ThreadAsRunnableArgumentCheck
ThreadLocalCleanupCheck
ThreadLocalWithInitialCheck
ThreadOverridesRunCheck
ThreadRunCheck
ThreadSleepCheck
ThreadStartedInConstructorCheck
ThreadWaitCallCheck
ThrowCheckedExceptionCheck
ThrowsFromFinallyCheck
ThrowsSeveralCheckedExceptionCheck
ToArrayCheck
TodoTagPresenceCheck
TooLongLineCheck
TooManyLinesOfCodeInFileCheck
TooManyMethodsCheck
TooManyParametersCheck
TooManyStatementsPerLineCheck
ToStringReturningNullCheck
ToStringUsingBoxingCheck
TrailingCommentCheck
TransactionalMethodVisibilityCheck
TransientFieldInNonSerializableCheck
TryWithResourcesCheck
UnderscoreMisplacedOnNumberCheck
UnderscoreOnNumberCheck
UndocumentedApiCheck
UnnecessarySemicolonCheck
UnreachableCatchCheck
UppercaseSuffixesCheck
URLHashCodeAndEqualsCheck
UselessExtendsCheck
UselessImportCheck
UselessIncrementCheck
UselessPackageInfoCheck
UselessParenthesesCheck
UseSwitchExpressionCheck
UtilityClassWithPublicConstructorCheck
ValueBasedObjectsShouldNotBeSerializedCheck
VarArgCheck
VariableDeclarationScopeCheck
VolatileNonPrimitiveFieldCheck
VolatileVariablesOperationsCheck
WaitInSynchronizeCheck
WaitInWhileLoopCheck
WaitOnConditionCheck
WeakSSLContextCheck
WildcardImportsShouldNotBeUsedCheck
WildcardReturnParameterTypeCheck
WrongAssignmentOperatorCheck
XmlDeserializationCheck