public class ReflectionConstructorDeclaration extends Object implements ResolvedConstructorDeclaration
| Constructor and Description |
|---|
ReflectionConstructorDeclaration(Constructor<?> constructor,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
AccessSpecifier |
accessSpecifier() |
ResolvedClassDeclaration |
declaringType() |
String |
getName() |
int |
getNumberOfParams() |
int |
getNumberOfSpecifiedExceptions() |
ResolvedParameterDeclaration |
getParam(int i) |
ResolvedType |
getSpecifiedException(int index) |
List<ResolvedTypeParameterDeclaration> |
getTypeParameters() |
Optional<ConstructorDeclaration> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTypeParameter, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterasEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isType, isVariableisGenericpublic ReflectionConstructorDeclaration(Constructor<?> constructor, TypeSolver typeSolver)
public ResolvedClassDeclaration declaringType()
declaringType in interface ResolvedConstructorDeclarationdeclaringType in interface ResolvedMethodLikeDeclarationpublic int getNumberOfParams()
getNumberOfParams in interface ResolvedMethodLikeDeclarationpublic ResolvedParameterDeclaration getParam(int i)
getParam in interface ResolvedMethodLikeDeclarationpublic String getName()
getName in interface ResolvedDeclarationpublic AccessSpecifier accessSpecifier()
accessSpecifier in interface HasAccessSpecifierpublic List<ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface ResolvedTypeParametrizablepublic int getNumberOfSpecifiedExceptions()
getNumberOfSpecifiedExceptions in interface ResolvedMethodLikeDeclarationpublic ResolvedType getSpecifiedException(int index)
getSpecifiedException in interface ResolvedMethodLikeDeclarationpublic Optional<ConstructorDeclaration> toAst()
toAst in interface AssociableToAST<ConstructorDeclaration>Copyright © 2007–2021. All rights reserved.