Class JavaParserParameterDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserParameterDeclaration
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration, com.github.javaparser.resolution.declarations.ResolvedValueDeclaration
public class JavaParserParameterDeclaration
extends Object
implements com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
- Author:
- Federico Tomassetti
-
Constructor Summary
ConstructorsConstructorDescriptionJavaParserParameterDeclaration(com.github.javaparser.ast.body.Parameter wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAstMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asType, asTypePattern, isArrayLength, isEnumConstant, isField, isMethod, isType, isTypePattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
asParameter, describeType, hasName, isParameter
-
Constructor Details
-
JavaParserParameterDeclaration
public JavaParserParameterDeclaration(com.github.javaparser.ast.body.Parameter wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
Method Details
-
getName
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isVariadic
public boolean isVariadic()- Specified by:
isVariadicin interfacecom.github.javaparser.resolution.declarations.ResolvedParameterDeclaration
-
getType
public com.github.javaparser.resolution.types.ResolvedType getType()- Specified by:
getTypein interfacecom.github.javaparser.resolution.declarations.ResolvedValueDeclaration
-
getWrappedNode
public com.github.javaparser.ast.body.Parameter getWrappedNode()Returns the JavaParser node associated with this JavaParserParameterDeclaration.- Returns:
- A visitable JavaParser node wrapped by this object.
-
toAst
- Specified by:
toAstin interfacecom.github.javaparser.resolution.declarations.AssociableToAST
-