public class JavaParserParameterDeclaration extends Object implements ResolvedParameterDeclaration
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<Node> |
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
toAst
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<Node> toAst()
toAst
in interface AssociableToAST
Copyright © 2007–2024. All rights reserved.