AbstractSunSecureRule |
Utility methods for the package
Created on Jan 17, 2005
|
AccessorClassGenerationRule |
1.
|
AccessorMethodGenerationRule |
|
ArrayIsStoredDirectlyRule |
If a method or constructor receives an array as an argument, the array should
be cloned instead of directly stored.
|
AvoidReassigningParametersRule |
|
AvoidUsingHardCodedIPRule |
|
CheckResultSetRule |
Rule that verifies, that the return values of next(), first(), last(), etc.
|
ForLoopCanBeForeachRule |
|
GuardLogStatementRule |
Check that log.debug, log.trace, log.error, etc... statements are guarded by
some test expression on log.isDebugEnabled() or log.isTraceEnabled().
|
JUnitAssertionsShouldIncludeMessageRule |
|
JUnitTestsShouldIncludeAssertRule |
|
JUnitUseExpectedRule |
This rule finds code like this:
|
LooseCouplingRule |
|
MethodReturnsInternalArrayRule |
Implementation note: this rule currently ignores return types of y.x.z,
currently it handles only local type fields.
|
MissingOverrideRule |
Flags missing @Override annotations.
|
PreserveStackTraceRule |
|
UnusedFormalParameterRule |
|
UnusedImportsRule |
|
UnusedLocalVariableRule |
|
UnusedPrivateFieldRule |
|
UnusedPrivateMethodRule |
This rule detects private methods, that are not used and can therefore be
deleted.
|
UseCollectionIsEmptyRule |
Detect structures like "foo.size() == 0" and suggest replacing them with
foo.isEmpty().
|