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.ResolvedValueDeclaration
public String getName()
getName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isVariable()
isVariable
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public com.github.javaparser.ast.expr.VariableDeclarationExpr getWrappedNode()
public com.github.javaparser.ast.body.VariableDeclarator getVariableDeclarator()
Copyright © 2007–2018. All rights reserved.