public class JavaParserConstructorDeclaration<N extends ResolvedReferenceTypeDeclaration> extends Object implements ResolvedConstructorDeclaration
| Modifier and Type | Method and Description |
|---|---|
AccessSpecifier |
accessSpecifier() |
N |
declaringType() |
String |
getName() |
int |
getNumberOfParams() |
int |
getNumberOfSpecifiedExceptions() |
ResolvedParameterDeclaration |
getParam(int i) |
ResolvedType |
getSpecifiedException(int index) |
List<ResolvedTypeParameterDeclaration> |
getTypeParameters() |
ConstructorDeclaration |
getWrappedNode()
Returns the JavaParser node associated with this JavaParserConstructorDeclaration.
|
Optional<Node> |
toAst() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindTypeParameter, formalParameterTypes, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterasEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isField, isMethod, isParameter, isPattern, isType, isVariabletoAstisGenericpublic N 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 ConstructorDeclaration getWrappedNode()
public 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<Node> toAst()
toAst in interface AssociableToASTCopyright © 2007–2024. All rights reserved.