public class JavaParserSymbolDeclaration extends Object implements ValueDeclaration
Modifier and Type | Method and Description |
---|---|
TypeDeclaration |
asType() |
static JavaParserFieldDeclaration |
field(com.github.javaparser.ast.body.VariableDeclarator wrappedNode,
TypeSolver typeSolver) |
String |
getName() |
static int |
getParamPos(com.github.javaparser.ast.Node node) |
static int |
getParamPos(com.github.javaparser.ast.body.Parameter parameter) |
Type |
getType() |
com.github.javaparser.ast.Node |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserSymbolDeclaration.
|
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
static JavaParserSymbolDeclaration |
localVar(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator,
TypeSolver typeSolver) |
static JavaParserParameterDeclaration |
parameter(com.github.javaparser.ast.body.Parameter parameter,
TypeSolver typeSolver) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asField, asMethod, asParameter, hasName, isMethod
public static JavaParserFieldDeclaration field(com.github.javaparser.ast.body.VariableDeclarator wrappedNode, TypeSolver typeSolver)
public static JavaParserParameterDeclaration parameter(com.github.javaparser.ast.body.Parameter parameter, TypeSolver typeSolver)
public static JavaParserSymbolDeclaration localVar(com.github.javaparser.ast.body.VariableDeclarator variableDeclarator, TypeSolver typeSolver)
public static int getParamPos(com.github.javaparser.ast.body.Parameter parameter)
public static int getParamPos(com.github.javaparser.ast.Node node)
public String getName()
getName
in interface Declaration
public boolean isField()
isField
in interface Declaration
public boolean isParameter()
isParameter
in interface Declaration
public boolean isType()
isType
in interface Declaration
public Type getType()
getType
in interface ValueDeclaration
public TypeDeclaration asType()
asType
in interface Declaration
public com.github.javaparser.ast.Node getWrappedNode()
Copyright © 2016. All rights reserved.