public class VariableNameDeclaration extends AbstractNameDeclaration implements TypedNameDeclaration
node
Constructor and Description |
---|
VariableNameDeclaration(ASTVariableDeclaratorId node) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AccessNode |
getAccessNodeParent() |
ASTVariableDeclaratorId |
getDeclaratorId() |
Scope |
getScope() |
Class<?> |
getType() |
String |
getTypeImage() |
int |
hashCode() |
boolean |
isArray() |
boolean |
isExceptionBlockParameter() |
boolean |
isLambdaTypelessParameter() |
boolean |
isPrimitiveType() |
boolean |
isReferenceType()
Note that an array of primitive types (int[]) is a reference type.
|
String |
toString() |
getImage, getName, getNode
public VariableNameDeclaration(ASTVariableDeclaratorId node)
public Scope getScope()
getScope
in interface NameDeclaration
getScope
in class AbstractNameDeclaration
public boolean isArray()
public boolean isExceptionBlockParameter()
public boolean isLambdaTypelessParameter()
public boolean isPrimitiveType()
public String getTypeImage()
getTypeImage
in interface TypedNameDeclaration
public boolean isReferenceType()
public AccessNode getAccessNodeParent()
public ASTVariableDeclaratorId getDeclaratorId()
public Class<?> getType()
getType
in interface TypedNameDeclaration
Copyright © 2002-2014 InfoEther. All Rights Reserved.