Groovy Documentation

org.codenarc.rule.basic
Class CloneableWithoutCloneRule

java.lang.Object
  org.codenarc.rule.AbstractRule
      org.codenarc.rule.AbstractAstVisitorRule
          org.codenarc.rule.basic.CloneableWithoutCloneRule

class CloneableWithoutCloneRule
extends AbstractAstVisitorRule

A class that implements Cloneable should define a clone() method.

author:
Hamlet D'Arcy & Ren? Gr?schke
version:
$Revision: 343 $ - $Date: 2010-05-05 20:56:06 -0400 (Wed, 05 May 2010) $


Property Summary
Class astVisitorClass

String name

int priority

 
Constructor Summary
CloneableWithoutCloneRule()

 
Method Summary
 
Methods inherited from class AbstractAstVisitorRule
shouldApplyThisRuleTo
 
Methods inherited from class AbstractRule
applyTo, createViolation, createViolation, createViolationForImport, createViolationForImport, getImportsSortedByLineNumber, getName, getPriority, packageNameForImport, setName, setPriority, sourceLineAndNumberForImport, sourceLineAndNumberForImport
 

Property Detail

astVisitorClass

Class astVisitorClass


name

String name


priority

int priority


 
Constructor Detail

CloneableWithoutCloneRule

CloneableWithoutCloneRule()


 

Groovy Documentation