Groovy Documentation

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

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

class DuplicateListLiteralRule
extends AbstractAstVisitorRule

Check for multiple instances of the same List literal, limited to Lists where the 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