|
Groovy Documentation | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
| Class Summary | |
|---|---|
| ConfusingTernaryAstVisitor | |
| ConfusingTernaryRule | In an "if" expression with an "else" clause, avoid negation in the test. |
| CouldBeElvisAstVisitor | |
| CouldBeElvisRule | Catch an if block that could be written as an elvis expression. |
| HashtableIsObsoleteRule | Check for direct use of Vector or java.util.Hashtable. |
| InvertedIfElseAstVisitor | |
| InvertedIfElseRule | An inverted if-else statement is one in which there is a single if statement with a single else branch and the boolean test of the if is negated. |
| LongLiteralWithLowerCaseLAstVisitor | |
| LongLiteralWithLowerCaseLRule | In Java and Groovy, you can specify long literals with the L or l character, for instance 55L or 24l. |
| ParameterReassignmentAstVisitor | |
| ParameterReassignmentRule | Checks for a method or closure parameter being reassigned to a new value within the body of the method/closure, which is a confusing, questionable practice. |
| TernaryCouldBeElvisAstVisitor | |
| TernaryCouldBeElvisRule | Rule that checks for ternary expressions where the boolean and true expressions are the same. |
| VectorIsObsoleteRule | Check for direct use of Vector or java.util.Vector. |
Groovy Documentation