Class ReflectionConstructorDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.reflectionmodel.ReflectionConstructorDeclaration
- All Implemented Interfaces:
AssociableToAST<ConstructorDeclaration>
,HasAccessSpecifier
,ResolvedConstructorDeclaration
,ResolvedDeclaration
,ResolvedMethodLikeDeclaration
,ResolvedTypeParametrizable
public class ReflectionConstructorDeclaration
extends Object
implements ResolvedConstructorDeclaration
- Author:
- Fred Lefévère-Laoide
-
Constructor Summary
ConstructorsConstructorDescriptionReflectionConstructorDeclaration(Constructor<?> constructor, TypeSolver typeSolver)
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
int
int
getParam(int i)
getSpecifiedException(int index)
toAst()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isType, isVariable
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
findTypeParameter, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameter
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
isGeneric
-
Constructor Details
-
ReflectionConstructorDeclaration
-
-
Method Details
-
declaringType
- Specified by:
declaringType
in interfaceResolvedConstructorDeclaration
- Specified by:
declaringType
in interfaceResolvedMethodLikeDeclaration
-
getNumberOfParams
public int getNumberOfParams()- Specified by:
getNumberOfParams
in interfaceResolvedMethodLikeDeclaration
-
getParam
- Specified by:
getParam
in interfaceResolvedMethodLikeDeclaration
-
getName
- Specified by:
getName
in interfaceResolvedDeclaration
-
accessSpecifier
- Specified by:
accessSpecifier
in interfaceHasAccessSpecifier
-
getTypeParameters
- Specified by:
getTypeParameters
in interfaceResolvedTypeParametrizable
-
getNumberOfSpecifiedExceptions
public int getNumberOfSpecifiedExceptions()- Specified by:
getNumberOfSpecifiedExceptions
in interfaceResolvedMethodLikeDeclaration
-
getSpecifiedException
- Specified by:
getSpecifiedException
in interfaceResolvedMethodLikeDeclaration
-
toAst
- Specified by:
toAst
in interfaceAssociableToAST<ConstructorDeclaration>
-