Class PLSQLNameOccurrence
- java.lang.Object
-
- net.sourceforge.pmd.lang.plsql.symboltable.PLSQLNameOccurrence
-
- All Implemented Interfaces:
NameOccurrence
public class PLSQLNameOccurrence extends Object implements NameOccurrence
-
-
Constructor Summary
Constructors Constructor Description PLSQLNameOccurrence(PLSQLNode location, String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Simply return if the image start with keyword 'this' or 'super'.int
getArgumentCount()
String
getImage()
PLSQLNode
getLocation()
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()
-
-
-
Method Detail
-
setIsMethodOrConstructorInvocation
public void setIsMethodOrConstructorInvocation()
-
setArgumentCount
public void setArgumentCount(int count)
-
getArgumentCount
public int getArgumentCount()
-
isMethodOrConstructorInvocation
public boolean isMethodOrConstructorInvocation()
-
setNameWhichThisQualifies
public void setNameWhichThisQualifies(PLSQLNameOccurrence qualifiedName)
-
getNameForWhichThisIsAQualifier
public PLSQLNameOccurrence getNameForWhichThisIsAQualifier()
-
isPartOfQualifiedName
public boolean isPartOfQualifiedName()
-
getLocation
public PLSQLNode getLocation()
- Specified by:
getLocation
in interfaceNameOccurrence
-
isOnRightHandSide
public boolean isOnRightHandSide()
-
isOnLeftHandSide
public boolean isOnLeftHandSide()
-
isThisOrSuper
public boolean isThisOrSuper()
Simply return true is the image is equal to keyword 'this' or 'super'.- Returns:
- return true if image equal to 'this' or 'super'.
-
equals
public boolean equals(Object o)
Simply return if the image start with keyword 'this' or 'super'.
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceNameOccurrence
-
-