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