Class JavassistMethodLikeDeclarationAdapter
java.lang.Object
com.github.javaparser.symbolsolver.javassistmodel.JavassistMethodLikeDeclarationAdapter
-
Constructor Summary
ConstructorsConstructorDescriptionJavassistMethodLikeDeclarationAdapter(javassist.CtBehavior ctBehavior, com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration declaration) -
Method Summary
Modifier and TypeMethodDescriptionintintcom.github.javaparser.resolution.declarations.ResolvedParameterDeclarationgetParam(int i) com.github.javaparser.resolution.types.ResolvedTypecom.github.javaparser.resolution.types.ResolvedTypegetSpecifiedException(int index) List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration>
-
Constructor Details
-
JavassistMethodLikeDeclarationAdapter
public JavassistMethodLikeDeclarationAdapter(javassist.CtBehavior ctBehavior, com.github.javaparser.resolution.TypeSolver typeSolver, com.github.javaparser.resolution.declarations.ResolvedMethodLikeDeclaration declaration)
-
-
Method Details
-
getNumberOfParams
public int getNumberOfParams() -
getParam
public com.github.javaparser.resolution.declarations.ResolvedParameterDeclaration getParam(int i) -
getTypeParameters
public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters() -
getNumberOfSpecifiedExceptions
public int getNumberOfSpecifiedExceptions() -
getSpecifiedException
public com.github.javaparser.resolution.types.ResolvedType getSpecifiedException(int index) -
getReturnType
public com.github.javaparser.resolution.types.ResolvedType getReturnType()
-