Package | Description |
---|---|
net.sourceforge.pmd.lang.java.rule.bestpractices | |
net.sourceforge.pmd.lang.java.rule.performance |
Modifier and Type | Class | Description |
---|---|---|
class |
UseCollectionIsEmptyRule |
Detect structures like "foo.size() == 0" and suggest replacing them with
foo.isEmpty().
|
Modifier and Type | Class | Description |
---|---|---|
class |
InefficientEmptyStringCheckRule |
This rule finds code which inefficiently determines empty strings.
|
Copyright © 2002–2018 PMD. All rights reserved.