Interface ResolvedConstructorDeclaration
- All Superinterfaces:
AssociableToAST, HasAccessSpecifier, ResolvedDeclaration, ResolvedMethodLikeDeclaration, ResolvedTypeParametrizable
- All Known Implementing Classes:
DefaultConstructorDeclaration, JavaParserConstructorDeclaration, JavaParserRecordDeclaration.CanonicalRecordConstructor, JavassistConstructorDeclaration, ReflectionConstructorDeclaration
A declaration of a constructor.
-
Method Summary
Modifier and TypeMethodDescriptionA constructor can be declared in a class or an enum.Methods inherited from interface AssociableToAST
toAst, toAstMethods inherited from interface HasAccessSpecifier
accessSpecifierMethods inherited from interface ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariableMethods inherited from interface ResolvedMethodLikeDeclaration
findTypeParameter, formalParameterTypes, getClassName, getLastParam, getNumberOfParams, getNumberOfSpecifiedExceptions, getPackageName, getParam, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedException, getSpecifiedExceptions, hasVariadicParameterMethods inherited from interface ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Method Details
-
declaringType
ResolvedReferenceTypeDeclaration declaringType()A constructor can be declared in a class or an enum.- Specified by:
declaringTypein interfaceResolvedMethodLikeDeclaration
-