| Class | Description |
|---|---|
| DryUtil | Utility methods for the DRY rule classes |
| DuplicateListLiteralAstVisitor | |
| DuplicateListLiteralRule | Check for multiple instances of the same List literal, limited to Lists where the values are all constants or literals. |
| DuplicateLiteralAstVisitor | Abstract superclass for rule AstVisitor classes that detect duplicate literal constants |
| DuplicateMapLiteralAstVisitor | |
| DuplicateMapLiteralRule | Check for multiple instances of the same Map literal, limited to Maps where the keys and values are all constants or literals. |
| DuplicateNumberLiteralRule | Checks for duplication of constant number literal values. |
| DuplicateStringLiteralRule | Code containing duplicate String literals can usually be improved by declaring the String as a constant field. |