org.acm.seguin.pmd.symboltable
Class NameOccurrence
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NameOccurrence
public NameOccurrence(net.sourceforge.jrefactory.ast.SimpleNode location,
java.lang.String image)
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