Class | Description |
---|---|
AvoidBranchingStatementAsLastInLoopRule | |
AvoidMultipleUnaryOperatorsRule | |
AvoidUsingHardCodedIPRule | |
AvoidUsingOctalValuesRule | |
BigIntegerInstantiationRule |
Rule that marks instantiations of new
BigInteger or BigDecimal objects,
when there is a well-known constant available, such as BigInteger.ZERO . |
BooleanInstantiationRule |
Avoid instantiating Boolean objects; you can reference Boolean.TRUE,
Boolean.FALSE, or call Boolean.valueOf() instead.
|
BrokenNullCheckRule | |
CheckResultSetRule |
Rule that verifies, that the return values of next(), first(), last(), etc.
|
CheckSkipResultRule | |
DoubleCheckedLockingRule |
void method() {
if(x == null) {
synchronized(this){
if(x == null) {
x = new | method();
}
}
}
1.
|
OverrideBothEqualsAndHashcodeRule |
Copyright © 2002-2015 InfoEther. All Rights Reserved.