Class PLSQLNameOccurrence
- java.lang.Object
-
- net.sourceforge.pmd.lang.plsql.symboltable.PLSQLNameOccurrence
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.symboltable.NameOccurrence
public class PLSQLNameOccurrence extends java.lang.Object implements net.sourceforge.pmd.lang.symboltable.NameOccurrence
-
-
Constructor Summary
Constructors Constructor Description PLSQLNameOccurrence(PLSQLNode location, java.lang.String image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Simply return if the image start with keyword 'this' or 'super'.intgetArgumentCount()java.lang.StringgetImage()PLSQLNodegetLocation()PLSQLNameOccurrencegetNameForWhichThisIsAQualifier()inthashCode()booleanisMethodOrConstructorInvocation()booleanisOnLeftHandSide()booleanisOnRightHandSide()booleanisPartOfQualifiedName()booleanisThisOrSuper()Simply return true is the image is equal to keyword 'this' or 'super'.voidsetArgumentCount(int count)voidsetIsMethodOrConstructorInvocation()voidsetNameWhichThisQualifies(PLSQLNameOccurrence qualifiedName)java.lang.StringtoString()
-
-
-
Constructor Detail
-
PLSQLNameOccurrence
public PLSQLNameOccurrence(PLSQLNode location, java.lang.String image)
-
-
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:
getLocationin interfacenet.sourceforge.pmd.lang.symboltable.NameOccurrence
-
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(java.lang.Object o)
Simply return if the image start with keyword 'this' or 'super'.- Overrides:
equalsin classjava.lang.Object- Returns:
- true, if keyword is used, false otherwise.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getImage
public java.lang.String getImage()
- Specified by:
getImagein interfacenet.sourceforge.pmd.lang.symboltable.NameOccurrence
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-