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() |
TypeUsage |
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, waitasField, asMethod, asParameter, asType, hasName, isMethod, isVariablepublic JavaParserParameterDeclaration(com.github.javaparser.ast.body.Parameter wrappedNode,
TypeSolver typeSolver)
public String getName()
getName in interface Declarationpublic boolean isField()
isField in interface Declarationpublic boolean isParameter()
isParameter in interface DeclarationisParameter in interface ParameterDeclarationpublic boolean isVariadic()
isVariadic in interface ParameterDeclarationpublic boolean isType()
isType in interface Declarationpublic TypeUsage getType()
getType in interface ValueDeclarationpublic com.github.javaparser.ast.body.Parameter getWrappedNode()
Copyright © 2016. All rights reserved.