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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findTypeParameter, formalParameterTypes, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameter
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariable
toAst, toAst
isGeneric
public ReflectionConstructorDeclaration(Constructor<?> constructor, TypeSolver typeSolver)
public ResolvedClassDeclaration declaringType()
declaringType
in interface ResolvedConstructorDeclaration
declaringType
in interface ResolvedMethodLikeDeclaration
public int getNumberOfParams()
getNumberOfParams
in interface ResolvedMethodLikeDeclaration
public ResolvedParameterDeclaration getParam(int i)
getParam
in interface ResolvedMethodLikeDeclaration
public String getName()
getName
in interface ResolvedDeclaration
public AccessSpecifier accessSpecifier()
accessSpecifier
in interface HasAccessSpecifier
public List<ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface ResolvedTypeParametrizable
public int getNumberOfSpecifiedExceptions()
getNumberOfSpecifiedExceptions
in interface ResolvedMethodLikeDeclaration
public ResolvedType getSpecifiedException(int index)
getSpecifiedException
in interface ResolvedMethodLikeDeclaration
Copyright © 2007–2024. All rights reserved.