public class JavassistConstructorDeclaration extends Object implements ResolvedConstructorDeclaration
| Constructor and Description |
|---|
JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
AccessSpecifier |
accessSpecifier() |
ResolvedReferenceTypeDeclaration |
declaringType() |
String |
getName() |
int |
getNumberOfParams() |
int |
getNumberOfSpecifiedExceptions() |
ResolvedParameterDeclaration |
getParam(int i) |
ResolvedType |
getSpecifiedException(int index) |
List<ResolvedTypeParameterDeclaration> |
getTypeParameters() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindTypeParameter, formalParameterTypes, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameterasEnumConstant, asField, asMethod, asParameter, asPattern, asType, hasName, isEnumConstant, isMethod, isPattern, isVariabletoAst, toAstisGenericpublic JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor,
TypeSolver typeSolver)
public String getName()
getName in interface ResolvedDeclarationpublic boolean isField()
isField in interface ResolvedDeclarationpublic boolean isParameter()
isParameter in interface ResolvedDeclarationpublic boolean isType()
isType in interface ResolvedDeclarationpublic ResolvedReferenceTypeDeclaration declaringType()
declaringType in interface ResolvedConstructorDeclarationdeclaringType in interface ResolvedMethodLikeDeclarationpublic int getNumberOfParams()
getNumberOfParams in interface ResolvedMethodLikeDeclarationpublic ResolvedParameterDeclaration getParam(int i)
getParam in interface ResolvedMethodLikeDeclarationpublic List<ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters in interface ResolvedTypeParametrizablepublic AccessSpecifier accessSpecifier()
accessSpecifier in interface HasAccessSpecifierpublic int getNumberOfSpecifiedExceptions()
getNumberOfSpecifiedExceptions in interface ResolvedMethodLikeDeclarationpublic ResolvedType getSpecifiedException(int index)
getSpecifiedException in interface ResolvedMethodLikeDeclarationCopyright © 2007–2024. All rights reserved.