TypedNameDeclarationpublic class VariableNameDeclaration extends net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration implements TypedNameDeclaration
node| Constructor | Description |
|---|---|
VariableNameDeclaration(ASTVariableDeclaratorId node) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
AccessNode |
getAccessNodeParent() |
|
int |
getArrayDepth() |
|
ASTVariableDeclaratorId |
getDeclaratorId() |
|
net.sourceforge.pmd.lang.symboltable.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 net.sourceforge.pmd.lang.symboltable.Scope getScope()
getScope in class net.sourceforge.pmd.lang.symboltable.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.