Class JavassistConstructorDeclaration
java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistConstructorDeclaration
- All Implemented Interfaces:
AssociableToAST<ConstructorDeclaration>,HasAccessSpecifier,ResolvedConstructorDeclaration,ResolvedDeclaration,ResolvedMethodLikeDeclaration,ResolvedTypeParametrizable
public class JavassistConstructorDeclaration
extends Object
implements ResolvedConstructorDeclaration
- Author:
- Fred Lefévère-Laoide
-
Constructor Summary
ConstructorsConstructorDescriptionJavassistConstructorDeclaration(javassist.CtConstructor ctConstructor, TypeSolver typeSolver) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
asEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isMethod, isPattern, isVariableMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
findTypeParameter, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterMethods inherited from interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
isGeneric
-
Constructor Details
-
JavassistConstructorDeclaration
public JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor, TypeSolver typeSolver)
-
-
Method Details
-
toString
-
getName
- Specified by:
getNamein interfaceResolvedDeclaration
-
isField
public boolean isField()- Specified by:
isFieldin interfaceResolvedDeclaration
-
isParameter
public boolean isParameter()- Specified by:
isParameterin interfaceResolvedDeclaration
-
isType
public boolean isType()- Specified by:
isTypein interfaceResolvedDeclaration
-
declaringType
- Specified by:
declaringTypein interfaceResolvedConstructorDeclaration- Specified by:
declaringTypein interfaceResolvedMethodLikeDeclaration
-
getNumberOfParams
public int getNumberOfParams()- Specified by:
getNumberOfParamsin interfaceResolvedMethodLikeDeclaration
-
getParam
- Specified by:
getParamin interfaceResolvedMethodLikeDeclaration
-
getTypeParameters
- Specified by:
getTypeParametersin interfaceResolvedTypeParametrizable
-
accessSpecifier
- Specified by:
accessSpecifierin interfaceHasAccessSpecifier
-
getNumberOfSpecifiedExceptions
public int getNumberOfSpecifiedExceptions()- Specified by:
getNumberOfSpecifiedExceptionsin interfaceResolvedMethodLikeDeclaration
-
getSpecifiedException
- Specified by:
getSpecifiedExceptionin interfaceResolvedMethodLikeDeclaration
-
toAst
- Specified by:
toAstin interfaceAssociableToAST<ConstructorDeclaration>
-