net.sourceforge.pmd.symboltable

Class VariableNameDeclaration

public class VariableNameDeclaration extends AbstractNameDeclaration

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Constructor Summary
VariableNameDeclaration(ASTVariableDeclaratorId node)
Method Summary
booleanequals(Object o)
AccessNodegetAccessNodeParent()
ASTVariableDeclaratorIdgetDeclaratorId()
ScopegetScope()
StringgetTypeImage()
inthashCode()
booleanisArray()
booleanisExceptionBlockParameter()
booleanisPrimitiveType()
booleanisReferenceType()
Note that an array of primitive types (int[]) is a reference type.
StringtoString()

Constructor Detail

VariableNameDeclaration

public VariableNameDeclaration(ASTVariableDeclaratorId node)

Method Detail

equals

public boolean equals(Object o)

getAccessNodeParent

public AccessNode getAccessNodeParent()

getDeclaratorId

public ASTVariableDeclaratorId getDeclaratorId()

getScope

public Scope getScope()

getTypeImage

public String getTypeImage()

hashCode

public int hashCode()

isArray

public boolean isArray()

isExceptionBlockParameter

public boolean isExceptionBlockParameter()

isPrimitiveType

public boolean isPrimitiveType()

isReferenceType

public boolean isReferenceType()
Note that an array of primitive types (int[]) is a reference type.

toString

public String toString()