public class JavaParserParameterDeclaration extends Object implements ResolvedParameterDeclaration, AssociableToAST<Parameter>
Constructor and Description |
---|
JavaParserParameterDeclaration(Parameter wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
ResolvedType |
getType() |
Parameter |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserParameterDeclaration.
|
boolean |
isVariadic() |
Optional<Parameter> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asParameter, describeType, hasName, isParameter
asEnumConstant, asField, asMethod, asPattern, asType, isEnumConstant, isField, isMethod, isPattern, isType, isVariable
public JavaParserParameterDeclaration(Parameter wrappedNode, TypeSolver typeSolver)
public String getName()
getName
in interface ResolvedDeclaration
public boolean isVariadic()
isVariadic
in interface ResolvedParameterDeclaration
public ResolvedType getType()
getType
in interface ResolvedValueDeclaration
public Parameter getWrappedNode()
public Optional<Parameter> toAst()
toAst
in interface AssociableToAST<Parameter>
Copyright © 2007–2021. All rights reserved.