This rule checks for the explicit instantiation of a HashMap using the no-arg constructor. In Groovy, it is best to write "new HashMap()" as "[:]", which creates the same object.
| Type | Name and description |
|---|---|
AstVisitor |
getAstVisitor() |