net.sourceforge.pmd.symboltable
Class VariableUsageFinderFunction

java.lang.Object
  extended by net.sourceforge.pmd.symboltable.VariableUsageFinderFunction
All Implemented Interfaces:
UnaryFunction<VariableNameDeclaration>

public class VariableUsageFinderFunction
extends java.lang.Object
implements UnaryFunction<VariableNameDeclaration>


Constructor Summary
VariableUsageFinderFunction(java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> decls)
           
 
Method Summary
 void applyTo(VariableNameDeclaration o)
           
 java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> getUsed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableUsageFinderFunction

public VariableUsageFinderFunction(java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> decls)
Method Detail

applyTo

public void applyTo(VariableNameDeclaration o)
Specified by:
applyTo in interface UnaryFunction<VariableNameDeclaration>

getUsed

public java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> getUsed()


Copyright © 2002-2011 InfoEther. All Rights Reserved.