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, waitasField, asMethod, asParameter, hasName, isMethodpublic 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 Declarationpublic boolean isField()
isField in interface Declarationpublic boolean isParameter()
isParameter in interface Declarationpublic boolean isType()
isType in interface Declarationpublic Type getType()
getType in interface ValueDeclarationpublic TypeDeclaration asType()
asType in interface Declarationpublic com.github.javaparser.ast.Node getWrappedNode()
Copyright © 2016. All rights reserved.