|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.lang.plsql.symboltable.PLSQLNameOccurrence
public class PLSQLNameOccurrence
Constructor Summary | |
---|---|
PLSQLNameOccurrence(PLSQLNode location,
String image)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
Simply return if the image start with keyword 'this' or 'super'. |
int |
getArgumentCount()
|
String |
getImage()
Gets the image of the used declaration, such as the variable name. |
PLSQLNode |
getLocation()
Gets the location where the usage occurred. |
PLSQLNameOccurrence |
getNameForWhichThisIsAQualifier()
|
int |
hashCode()
|
boolean |
isMethodOrConstructorInvocation()
|
boolean |
isOnLeftHandSide()
|
boolean |
isOnRightHandSide()
|
boolean |
isPartOfQualifiedName()
|
boolean |
isThisOrSuper()
Simply return true is the image is equal to keyword 'this' or 'super'. |
void |
setArgumentCount(int count)
|
void |
setIsMethodOrConstructorInvocation()
|
void |
setNameWhichThisQualifies(PLSQLNameOccurrence qualifiedName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PLSQLNameOccurrence(PLSQLNode location, String image)
Method Detail |
---|
public void setIsMethodOrConstructorInvocation()
public void setArgumentCount(int count)
public int getArgumentCount()
public boolean isMethodOrConstructorInvocation()
public void setNameWhichThisQualifies(PLSQLNameOccurrence qualifiedName)
public PLSQLNameOccurrence getNameForWhichThisIsAQualifier()
public boolean isPartOfQualifiedName()
public PLSQLNode getLocation()
NameOccurrence
getLocation
in interface NameOccurrence
public boolean isOnRightHandSide()
public boolean isOnLeftHandSide()
public boolean isThisOrSuper()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getImage()
NameOccurrence
getImage
in interface NameOccurrence
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |