net.sourceforge.pmd.lang.plsql.symboltable
Class PLSQLNameOccurrence

java.lang.Object
  extended by net.sourceforge.pmd.lang.plsql.symboltable.PLSQLNameOccurrence
All Implemented Interfaces:
NameOccurrence

public class PLSQLNameOccurrence
extends Object
implements NameOccurrence


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()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PLSQLNameOccurrence

public PLSQLNameOccurrence(PLSQLNode location,
                           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:
getLocation in interface 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(Object o)
Simply return if the image start with keyword 'this' or 'super'.

Overrides:
equals in class Object
Returns:
true, if keyword is used, false otherwise.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getImage

public String getImage()
Specified by:
getImage in interface NameOccurrence

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2015 InfoEther. All Rights Reserved.