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()
Gets the scope in which this name has been declared.
|
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, getNodepublic VariableNameDeclaration(ASTVariableDeclaratorId node)
public Scope getScope()
NameDeclarationgetScope in interface NameDeclarationgetScope in class AbstractNameDeclarationpublic boolean isArray()
public boolean isExceptionBlockParameter()
public boolean isLambdaTypelessParameter()
public boolean isPrimitiveType()
public String getTypeImage()
getTypeImage in interface TypedNameDeclarationpublic boolean isReferenceType()
public AccessNode getAccessNodeParent()
public ASTVariableDeclaratorId getDeclaratorId()
public Class<?> getType()
getType in interface TypedNameDeclarationCopyright © 2002-2014 InfoEther. All Rights Reserved.