Class JavassistConstructorDeclaration
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javassistmodel.JavassistConstructorDeclaration
-
- 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 JavassistConstructorDeclaration extends java.lang.Object implements com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration- Author:
- Fred Lefévère-Laoide
-
-
Constructor Summary
Constructors Constructor Description JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor, com.github.javaparser.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.javaparser.ast.AccessSpecifieraccessSpecifier()com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationdeclaringType()java.lang.StringgetName()intgetNumberOfParams()intgetNumberOfSpecifiedExceptions()com.github.javaparser.resolution.declarations.ResolvedParameterDeclarationgetParam(int i)com.github.javaparser.resolution.types.ResolvedTypegetSpecifiedException(int index)java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration>getTypeParameters()booleanisField()booleanisParameter()booleanisType()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.resolution.declarations.AssociableToAST
toAst, toAst
-
Methods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asType, asTypePattern, hasName, isArrayLength, isEnumConstant, isMethod, isTypePattern, isVariable
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isField
public boolean isField()
- Specified by:
isFieldin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isParameter
public boolean isParameter()
- Specified by:
isParameterin interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
isType
public boolean isType()
- Specified by:
isTypein interfacecom.github.javaparser.resolution.declarations.ResolvedDeclaration
-
declaringType
public com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration 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
-
getTypeParameters
public java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
- Specified by:
getTypeParametersin interfacecom.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
-
accessSpecifier
public com.github.javaparser.ast.AccessSpecifier accessSpecifier()
- Specified by:
accessSpecifierin interfacecom.github.javaparser.resolution.declarations.HasAccessSpecifier
-
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
-
-