Groovy Documentation

groovy.org.codenarc.rule.unnecessary
[Groovy] Class VariableUsageFinder

java.lang.Object
  org.codenarc.rule.AbstractAstVisitor
      groovy.org.codenarc.rule.unnecessary.VariableUsageFinder

class VariableUsageFinder
extends AbstractAstVisitor

Property Summary
boolean found

String targetVariable

 
Method Summary
void visitVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression expression)

 

Property Detail

found

boolean found


targetVariable

String targetVariable


 
Method Detail

visitVariableExpression

@Override
void visitVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression expression)


 

Groovy Documentation