public class VariableNameDeclaration extends AbstractNameDeclaration implements TypedNameDeclaration
node| Constructor and Description |
|---|
VariableNameDeclaration(ASTVariableDeclaratorId node) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
AccessNode |
getAccessNodeParent() |
int |
getArrayDepth() |
ASTVariableDeclaratorId |
getDeclaratorId() |
Scope |
getScope() |
java.lang.Class<?> |
getType() |
java.lang.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.
|
boolean |
isVarargs() |
java.lang.String |
toString() |
getImage, getName, getNodepublic VariableNameDeclaration(ASTVariableDeclaratorId node)
public Scope getScope()
getScope in interface NameDeclarationgetScope in class AbstractNameDeclarationpublic boolean isArray()
public int getArrayDepth()
public boolean isVarargs()
public boolean isExceptionBlockParameter()
public boolean isLambdaTypelessParameter()
public boolean isPrimitiveType()
public java.lang.String getTypeImage()
getTypeImage in interface TypedNameDeclarationpublic boolean isReferenceType()
public AccessNode getAccessNodeParent()
public ASTVariableDeclaratorId getDeclaratorId()
public java.lang.Class<?> getType()
getType in interface TypedNameDeclarationpublic 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.ObjectCopyright © 2002–2018 PMD. All rights reserved.