net.sourceforge.pmd.symboltable
Class NameOccurrence
java.lang.Object
net.sourceforge.pmd.symboltable.NameOccurrence
- public class NameOccurrence
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
location
private SimpleNode location
image
private java.lang.String image
qualifiedName
private NameOccurrence qualifiedName
isMethodOrConstructorInvocation
private boolean isMethodOrConstructorInvocation
NameOccurrence
public NameOccurrence(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 SimpleNode getLocation()
isOnLeftHandSide
public boolean isOnLeftHandSide()
getScope
public Scope getScope()
getBeginLine
public int getBeginLine()
isThisOrSuper
public boolean isThisOrSuper()
equals
public boolean equals(java.lang.Object o)
getImage
public java.lang.String getImage()
hashCode
public int hashCode()
toString
public java.lang.String toString()