public class JavaParserVariableDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
| Constructor and Description |
|---|
JavaParserVariableDeclaration(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
com.github.javaparser.resolution.types.ResolvedType |
getType() |
com.github.javaparser.ast.body.VariableDeclarator |
getVariableDeclarator() |
com.github.javaparser.ast.expr.VariableDeclarationExpr |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserFieldDeclaration.
|
boolean |
isVariable() |
String |
toString() |
public JavaParserVariableDeclaration(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator,
TypeSolver typeSolver)
public com.github.javaparser.resolution.types.ResolvedType getType()
getType in interface com.github.javaparser.resolution.declarations.ResolvedValueDeclarationpublic String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic boolean isVariable()
isVariable in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic com.github.javaparser.ast.expr.VariableDeclarationExpr getWrappedNode()
public com.github.javaparser.ast.body.VariableDeclarator getVariableDeclarator()
Copyright © 2007–2019. All rights reserved.