Groovy Documentation

groovy.org.codenarc.rule.dry
[Groovy] Class DuplicateMapLiteralRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.dry.DuplicateMapLiteralRule

class DuplicateMapLiteralRule
extends AbstractAstVisitorRule

Check for multiple instances of the same Map literal, limited to Maps where the keys and values are all constants or literals.

Authors:
Chris Mair


Property Summary
Class astVisitorClass

String doNotApplyToFilesMatching

String name

int priority

 

Property Detail

astVisitorClass

Class astVisitorClass


doNotApplyToFilesMatching

String doNotApplyToFilesMatching


name

String name


priority

int priority


 

Groovy Documentation