public class JavaParserVariableDeclaration extends Object implements ResolvedValueDeclaration
| Constructor and Description |
|---|
JavaParserVariableDeclaration(VariableDeclarator variableDeclarator,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
ResolvedType |
getType() |
VariableDeclarator |
getVariableDeclarator() |
VariableDeclarationExpr |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserFieldDeclaration.
|
boolean |
isVariable() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isTypepublic JavaParserVariableDeclaration(VariableDeclarator variableDeclarator, TypeSolver typeSolver)
public ResolvedType getType()
getType in interface ResolvedValueDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic boolean isVariable()
isVariable in interface ResolvedDeclarationpublic VariableDeclarationExpr getWrappedNode()
public VariableDeclarator getVariableDeclarator()
Copyright © 2007–2020. All rights reserved.