public class VariableNameDeclaration extends AbstractNameDeclaration
node| Constructor and Description |
|---|
VariableNameDeclaration(ASTVariableDeclaratorId node) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
AccessNode |
getAccessNodeParent() |
ASTVariableDeclaratorId |
getDeclaratorId() |
Scope |
getScope() |
java.lang.Class |
getType() |
java.lang.String |
getTypeImage() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isExceptionBlockParameter() |
boolean |
isPrimitiveType() |
boolean |
isReferenceType()
Note that an array of primitive types (int[]) is a reference type.
|
java.lang.String |
toString() |
getImage, getNodepublic VariableNameDeclaration(ASTVariableDeclaratorId node)
public Scope getScope()
getScope in interface NameDeclarationgetScope in class AbstractNameDeclarationpublic boolean isArray()
public boolean isExceptionBlockParameter()
public boolean isPrimitiveType()
public java.lang.String getTypeImage()
public boolean isReferenceType()
public AccessNode getAccessNodeParent()
public ASTVariableDeclaratorId getDeclaratorId()
public java.lang.Class getType()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object