Class DefaultConstructorDeclaration<N extends com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration>
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.declarations.DefaultConstructorDeclaration<N>
- All Implemented Interfaces:
com.github.javaparser.resolution.declarations.AssociableToAST, com.github.javaparser.resolution.declarations.HasAccessSpecifier, com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration, com.github.javaparser.resolution.declarations.ResolvedDeclaration, com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration, com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
public class DefaultConstructorDeclaration<N extends com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration>
extends Object
implements com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
This represents the default constructor added by the compiler for objects not declaring one.
It takes no parameters. See JLS 8.8.9 for details.
- Author:
- Federico Tomassetti
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.ast.AccessSpecifiergetName()intintcom.github.javaparser.resolution.declarations.ResolvedParameterDeclarationgetParam(int i) com.github.javaparser.resolution.types.ResolvedTypegetSpecifiedException(int index) List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAstMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isArrayLength, isEnumConstant, isField, isMethod, isParameter, isType, isTypePattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
findTypeParameter, formalParameterTypes, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
isGeneric
-
Method Details
-
declaringType
- Specified by:
declaringTypein interfacecom.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration- Specified by:
declaringTypein interfacecom.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
-
getNumberOfParams
public int getNumberOfParams()- Specified by:
getNumberOfParamsin interfacecom.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
-
getParam
public com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration getParam(int i) - Specified by:
getParamin interfacecom.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
-
getName
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
accessSpecifier
public com.github.javaparser.ast.AccessSpecifier accessSpecifier()- Specified by:
accessSpecifierin interfacecom.github.javaparser.resolution.declarations.HasAccessSpecifier
-
getTypeParameters
public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()- Specified by:
getTypeParametersin interfacecom.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
-
getNumberOfSpecifiedExceptions
public int getNumberOfSpecifiedExceptions()- Specified by:
getNumberOfSpecifiedExceptionsin interfacecom.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
-
getSpecifiedException
public com.github.javaparser.resolution.types.ResolvedType getSpecifiedException(int index) - Specified by:
getSpecifiedExceptionin interfacecom.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
-