org.acm.seguin.pmd.symboltable
Class NameOccurrence

java.lang.Object
  extended by org.acm.seguin.pmd.symboltable.NameOccurrence

public class NameOccurrence
extends java.lang.Object


Constructor Summary
NameOccurrence(net.sourceforge.jrefactory.ast.SimpleNode location, java.lang.String image)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getBeginLine()
           
 java.lang.String getImage()
           
 net.sourceforge.jrefactory.ast.SimpleNode getLocation()
           
 NameOccurrence getNameForWhichThisIsAQualifier()
           
 Scope getScope()
           
 int hashCode()
           
 boolean isArrayAccess()
           
 boolean isMethodOrConstructorInvocation()
           
 boolean isOnLeftHandSide()
           
 boolean isThisOrSuper()
           
 void setIsMethodOrConstructorInvocation()
           
 void setNameWhichThisQualifies(NameOccurrence qualifiedName)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameOccurrence

public NameOccurrence(net.sourceforge.jrefactory.ast.SimpleNode location,
                      java.lang.String image)
Method Detail

setIsMethodOrConstructorInvocation

public void setIsMethodOrConstructorInvocation()

isMethodOrConstructorInvocation

public boolean isMethodOrConstructorInvocation()

setNameWhichThisQualifies

public void setNameWhichThisQualifies(NameOccurrence qualifiedName)

getNameForWhichThisIsAQualifier

public NameOccurrence getNameForWhichThisIsAQualifier()

getLocation

public net.sourceforge.jrefactory.ast.SimpleNode getLocation()

isOnLeftHandSide

public boolean isOnLeftHandSide()

isArrayAccess

public boolean isArrayAccess()

getScope

public Scope getScope()

getBeginLine

public int getBeginLine()

isThisOrSuper

public boolean isThisOrSuper()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getImage

public java.lang.String getImage()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object