| java.lang.Object net.sourceforge.pmd.symboltable.NameOccurrence
NameOccurrence | public class NameOccurrence (Code) | | |
getArgumentCount | public int getArgumentCount()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isMethodOrConstructorInvocation | public boolean isMethodOrConstructorInvocation()(Code) | | |
isOnLeftHandSide | public boolean isOnLeftHandSide()(Code) | | |
isOnRightHandSide | public boolean isOnRightHandSide()(Code) | | |
isPartOfQualifiedName | public boolean isPartOfQualifiedName()(Code) | | |
isSelfAssignment | public boolean isSelfAssignment()(Code) | | Assert it the occurrence is a self assignment such as:
i += 3;
true, if the occurrence is self-assignment, false, otherwise. |
isThisOrSuper | public boolean isThisOrSuper()(Code) | | Simply return true is the image is equal to keyword 'this' or 'super'.
return true if image equal to 'this' or 'super'. |
setArgumentCount | public void setArgumentCount(int count)(Code) | | |
setIsMethodOrConstructorInvocation | public void setIsMethodOrConstructorInvocation()(Code) | | |
useThisOrSuper | public boolean useThisOrSuper()(Code) | | Simply return if the image start with keyword 'this' or 'super'.
true, if keyword is used, false otherwise. |
|
|