public class ReflectionConstructorDeclaration extends Object implements com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
| Constructor and Description |
|---|
ReflectionConstructorDeclaration(Constructor<?> constructor,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
com.github.javaparser.ast.Modifier.Keyword |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedClassDeclaration |
declaringType() |
String |
getName() |
int |
getNumberOfParams() |
int |
getNumberOfSpecifiedExceptions() |
com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration |
getParam(int i) |
com.github.javaparser.resolution.types.ResolvedType |
getSpecifiedException(int index) |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
Optional<com.github.javaparser.ast.body.ConstructorDeclaration> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTypeParameter, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterpublic ReflectionConstructorDeclaration(Constructor<?> constructor, TypeSolver typeSolver)
public com.github.javaparser.resolution.declarations.ResolvedClassDeclaration declaringType()
declaringType in interface com.github.javaparser.resolution.declarations.ResolvedConstructorDeclarationdeclaringType in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclarationpublic int getNumberOfParams()
getNumberOfParams in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclarationpublic com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration getParam(int i)
getParam in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclarationpublic String getName()
getName in interface com.github.javaparser.resolution.declarations.ResolvedDeclarationpublic com.github.javaparser.ast.Modifier.Keyword accessSpecifier()
accessSpecifier in interface com.github.javaparser.resolution.declarations.HasAccessSpecifierpublic List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizablepublic int getNumberOfSpecifiedExceptions()
getNumberOfSpecifiedExceptions in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclarationpublic com.github.javaparser.resolution.types.ResolvedType getSpecifiedException(int index)
getSpecifiedException in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclarationpublic Optional<com.github.javaparser.ast.body.ConstructorDeclaration> toAst()
toAst in interface com.github.javaparser.resolution.declarations.AssociableToAST<com.github.javaparser.ast.body.ConstructorDeclaration>Copyright © 2007–2019. All rights reserved.