net.sourceforge.pmd.symboltable

Class VariableUsageFinderFunction

public class VariableUsageFinderFunction extends Object implements UnaryFunction<VariableNameDeclaration>

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Constructor Summary
VariableUsageFinderFunction(Map<VariableNameDeclaration,List<NameOccurrence>> decls)
Method Summary
voidapplyTo(VariableNameDeclaration o)
Map<VariableNameDeclaration,List<NameOccurrence>>getUsed()

Constructor Detail

VariableUsageFinderFunction

public VariableUsageFinderFunction(Map<VariableNameDeclaration,List<NameOccurrence>> decls)

Method Detail

applyTo

public void applyTo(VariableNameDeclaration o)

getUsed

public Map<VariableNameDeclaration,List<NameOccurrence>> getUsed()