net.sourceforge.pmd.symboltable
Class NameOccurrence

java.lang.Object
  extended bynet.sourceforge.pmd.symboltable.NameOccurrence
All Implemented Interfaces:
IPositionProvider

public class NameOccurrence
extends java.lang.Object
implements IPositionProvider


Constructor Summary
NameOccurrence(SimpleNode location, java.lang.String image)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getBeginColumn()
           
 int getBeginLine()
           
 int getEndColumn()
           
 int getEndLine()
           
 java.lang.String getImage()
           
 SimpleNode getLocation()
           
 NameOccurrence getNameForWhichThisIsAQualifier()
           
 Scope getScope()
           
 int hashCode()
           
 boolean isMethodOrConstructorInvocation()
           
 boolean isOnLeftHandSide()
           
 boolean isOnRightHandSide()
           
 boolean isPartOfQualifiedName()
           
 boolean isSelfAssignment()
           
 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(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()

isPartOfQualifiedName

public boolean isPartOfQualifiedName()

getLocation

public SimpleNode getLocation()

isOnRightHandSide

public boolean isOnRightHandSide()

isOnLeftHandSide

public boolean isOnLeftHandSide()

isSelfAssignment

public boolean isSelfAssignment()

getScope

public Scope getScope()

getBeginLine

public int getBeginLine()
Specified by:
getBeginLine in interface IPositionProvider

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

getEndLine

public int getEndLine()
Specified by:
getEndLine in interface IPositionProvider
See Also:
IPositionProvider.getEndLine()

getBeginColumn

public int getBeginColumn()
Specified by:
getBeginColumn in interface IPositionProvider
See Also:
IPositionProvider.getBeginColumn()

getEndColumn

public int getEndColumn()
Specified by:
getEndColumn in interface IPositionProvider
See Also:
IPositionProvider.getEndColumn()


Copyright © 2002-2005 InfoEther. All Rights Reserved.