Groovy Documentation

groovy.org.codenarc.rule.design
[Groovy] Class ImplementationAsTypeRule

java.lang.Object
  org.codenarc.rule.AbstractAstVisitorRule
      groovy.org.codenarc.rule.design.ImplementationAsTypeRule

class ImplementationAsTypeRule
extends AbstractAstVisitorRule

Checks for use of the following concrete classes when specifying the type of a method parameter, closure parameter, constructor parameter, method return type or field type (the associated interfaces should be used to specify the type instead):

Authors:
Chris Mair
Hamlet D'Arcy


Property Summary
Class astVisitorClass

String name

int priority

 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 

Groovy Documentation