net.sourceforge.pmd.symboltable
Class NameOccurrence

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

public class NameOccurrence
extends java.lang.Object


Field Summary
private  java.lang.String image
           
private  boolean isMethodOrConstructorInvocation
           
private  SimpleNode location
           
private  NameOccurrence qualifiedName
           
 
Constructor Summary
NameOccurrence(SimpleNode location, java.lang.String image)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getBeginLine()
           
 java.lang.String getImage()
           
 SimpleNode getLocation()
           
 NameOccurrence getNameForWhichThisIsAQualifier()
           
 Scope getScope()
           
 int hashCode()
           
 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
 

Field Detail

location

private SimpleNode location

image

private java.lang.String image

qualifiedName

private NameOccurrence qualifiedName

isMethodOrConstructorInvocation

private boolean isMethodOrConstructorInvocation
Constructor Detail

NameOccurrence

public NameOccurrence(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 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()