public class JavassistConstructorDeclaration
extends java.lang.Object
implements com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
Constructor and Description |
---|
JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor,
com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
com.github.javaparser.ast.AccessSpecifier |
accessSpecifier() |
com.github.javaparser.resolution.declarations.ResolvedClassDeclaration |
declaringType() |
java.lang.String |
getName() |
int |
getNumberOfParams() |
int |
getNumberOfSpecifiedExceptions() |
com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration |
getParam(int i) |
com.github.javaparser.resolution.types.ResolvedType |
getSpecifiedException(int index) |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
boolean |
isField() |
boolean |
isParameter() |
boolean |
isType() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findTypeParameter, getClassName, getLastParam, getPackageName, getQualifiedName, getQualifiedSignature, getSignature, getSpecifiedExceptions, hasVariadicParameter
public JavassistConstructorDeclaration(javassist.CtConstructor ctConstructor, com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isField()
isField
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isParameter()
isParameter
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public boolean isType()
isType
in interface com.github.javaparser.resolution.declarations.ResolvedDeclaration
public com.github.javaparser.resolution.declarations.ResolvedClassDeclaration declaringType()
declaringType
in interface com.github.javaparser.resolution.declarations.ResolvedConstructorDeclaration
declaringType
in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
public int getNumberOfParams()
getNumberOfParams
in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
public com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration getParam(int i)
getParam
in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
public java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
getTypeParameters
in interface com.github.javaparser.resolution.declarations.ResolvedTypeParametrizable
public com.github.javaparser.ast.AccessSpecifier accessSpecifier()
accessSpecifier
in interface com.github.javaparser.resolution.declarations.HasAccessSpecifier
public int getNumberOfSpecifiedExceptions()
getNumberOfSpecifiedExceptions
in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration
public com.github.javaparser.resolution.types.ResolvedType getSpecifiedException(int index)
getSpecifiedException
in interface com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration