Interface ResolvedConstructorDeclaration
- All Superinterfaces:
AssociableToAST<ConstructorDeclaration>
,HasAccessSpecifier
,ResolvedDeclaration
,ResolvedMethodLikeDeclaration
,ResolvedTypeParametrizable
public interface ResolvedConstructorDeclaration
extends ResolvedMethodLikeDeclaration, AssociableToAST<ConstructorDeclaration>
A declaration of a constructor.
- Author:
- Federico Tomassetti
-
Method Summary
Modifier and TypeMethodDescriptionA constructor can be declared in a class or an enum.Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst
Methods inherited from interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
accessSpecifier
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, asType, getName, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isType, isVariable
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
findTypeParameter, getClassName, getLastParam, getNumberOfParams, getNumberOfSpecifiedExceptions, getPackageName, getParam, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedException, getSpecifiedExceptions, hasVariadicParameter
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
getTypeParameters, isGeneric
-
Method Details
-
declaringType
ResolvedReferenceTypeDeclaration declaringType()A constructor can be declared in a class or an enum.- Specified by:
declaringType
in interfaceResolvedMethodLikeDeclaration
-