Class JavassistMethodLikeDeclarationAdapter
- java.lang.Object
-
- com.github.javaparser.symbolsolver.javassistmodel.JavassistMethodLikeDeclarationAdapter
-
public class JavassistMethodLikeDeclarationAdapter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private javassist.CtBehavior
ctBehavior
private ResolvedMethodLikeDeclaration
declaration
private javassist.bytecode.SignatureAttribute.MethodSignature
methodSignature
private TypeSolver
typeSolver
-
Constructor Summary
Constructors Constructor Description JavassistMethodLikeDeclarationAdapter(javassist.CtBehavior ctBehavior, TypeSolver typeSolver, ResolvedMethodLikeDeclaration declaration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfParams()
int
getNumberOfSpecifiedExceptions()
ResolvedParameterDeclaration
getParam(int i)
ResolvedType
getReturnType()
ResolvedType
getSpecifiedException(int index)
java.util.List<ResolvedTypeParameterDeclaration>
getTypeParameters()
-
-
-
Field Detail
-
ctBehavior
private javassist.CtBehavior ctBehavior
-
typeSolver
private TypeSolver typeSolver
-
declaration
private ResolvedMethodLikeDeclaration declaration
-
methodSignature
private javassist.bytecode.SignatureAttribute.MethodSignature methodSignature
-
-
Constructor Detail
-
JavassistMethodLikeDeclarationAdapter
public JavassistMethodLikeDeclarationAdapter(javassist.CtBehavior ctBehavior, TypeSolver typeSolver, ResolvedMethodLikeDeclaration declaration)
-
-
Method Detail
-
getNumberOfParams
public int getNumberOfParams()
-
getParam
public ResolvedParameterDeclaration getParam(int i)
-
getTypeParameters
public java.util.List<ResolvedTypeParameterDeclaration> getTypeParameters()
-
getNumberOfSpecifiedExceptions
public int getNumberOfSpecifiedExceptions()
-
getSpecifiedException
public ResolvedType getSpecifiedException(int index)
-
getReturnType
public ResolvedType getReturnType()
-
-