net.sourceforge.pmd.symboltable
Class Search

java.lang.Object
  extended bynet.sourceforge.pmd.symboltable.Search

public class Search
extends java.lang.Object


Field Summary
private  NameDeclaration decl
           
private  NameOccurrence occ
           
private static boolean TRACE
           
 
Constructor Summary
Search(NameOccurrence occ)
           
 
Method Summary
 void execute()
           
 void execute(Scope startingScope)
           
 NameDeclaration getResult()
           
private  NameDeclaration searchUpward(NameOccurrence nameOccurrence, Scope scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

private static final boolean TRACE
See Also:
Constant Field Values

occ

private NameOccurrence occ

decl

private NameDeclaration decl
Constructor Detail

Search

public Search(NameOccurrence occ)
Method Detail

execute

public void execute()

execute

public void execute(Scope startingScope)

getResult

public NameDeclaration getResult()

searchUpward

private NameDeclaration searchUpward(NameOccurrence nameOccurrence,
                                     Scope scope)