net.sourceforge.pmd.symboltable
Class NameOccurrence
java.lang.Object
net.sourceforge.pmd.symboltable.NameOccurrence
- All Implemented Interfaces:
- IPositionProvider
- public class NameOccurrence
- extends java.lang.Object
- implements IPositionProvider
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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()
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.