net.sourceforge.pmd.symboltable

Class NameOccurrence

public class NameOccurrence extends Object

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Constructor Summary
NameOccurrence(SimpleNode location, String image)
Method Summary
booleanequals(Object o)
intgetArgumentCount()
StringgetImage()
SimpleNodegetLocation()
NameOccurrencegetNameForWhichThisIsAQualifier()
inthashCode()
booleanisMethodOrConstructorInvocation()
booleanisOnLeftHandSide()
booleanisOnRightHandSide()
booleanisPartOfQualifiedName()
booleanisSelfAssignment()
booleanisThisOrSuper()
voidsetArgumentCount(int count)
voidsetIsMethodOrConstructorInvocation()
voidsetNameWhichThisQualifies(NameOccurrence qualifiedName)
StringtoString()

Constructor Detail

NameOccurrence

public NameOccurrence(SimpleNode location, String image)

Method Detail

equals

public boolean equals(Object o)

getArgumentCount

public int getArgumentCount()

getImage

public String getImage()

getLocation

public SimpleNode getLocation()

getNameForWhichThisIsAQualifier

public NameOccurrence getNameForWhichThisIsAQualifier()

hashCode

public int hashCode()

isMethodOrConstructorInvocation

public boolean isMethodOrConstructorInvocation()

isOnLeftHandSide

public boolean isOnLeftHandSide()

isOnRightHandSide

public boolean isOnRightHandSide()

isPartOfQualifiedName

public boolean isPartOfQualifiedName()

isSelfAssignment

public boolean isSelfAssignment()

isThisOrSuper

public boolean isThisOrSuper()

setArgumentCount

public void setArgumentCount(int count)

setIsMethodOrConstructorInvocation

public void setIsMethodOrConstructorInvocation()

setNameWhichThisQualifies

public void setNameWhichThisQualifies(NameOccurrence qualifiedName)

toString

public String toString()