net.sourceforge.pmd.symboltable
Class VariableNameDeclaration
java.lang.Object
net.sourceforge.pmd.symboltable.AbstractNameDeclaration
net.sourceforge.pmd.symboltable.VariableNameDeclaration
- All Implemented Interfaces:
- NameDeclaration
public class VariableNameDeclaration
- extends AbstractNameDeclaration
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
VariableNameDeclaration
public VariableNameDeclaration(ASTVariableDeclaratorId node)
getScope
public Scope getScope()
- Specified by:
getScope
in interface NameDeclaration
- Overrides:
getScope
in class AbstractNameDeclaration
isArray
public boolean isArray()
isExceptionBlockParameter
public boolean isExceptionBlockParameter()
isPrimitiveType
public boolean isPrimitiveType()
getTypeImage
public java.lang.String getTypeImage()
isReferenceType
public boolean isReferenceType()
- Note that an array of primitive types (int[]) is a reference type.
getAccessNodeParent
public AccessNode getAccessNodeParent()
getDeclaratorId
public ASTVariableDeclaratorId getDeclaratorId()
getType
public java.lang.Class getType()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object