public class MethodType
extends java.lang.Object
| Constructor and Description |
|---|
MethodType(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> formalArgumentTypes,
com.github.javaparser.resolution.types.ResolvedType returnType,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> exceptionTypes) |
| Modifier and Type | Method and Description |
|---|---|
static MethodType |
fromMethodUsage(com.github.javaparser.resolution.MethodUsage methodUsage) |
java.util.List<com.github.javaparser.resolution.types.ResolvedType> |
getExceptionTypes() |
java.util.List<com.github.javaparser.resolution.types.ResolvedType> |
getFormalArgumentTypes() |
com.github.javaparser.resolution.types.ResolvedType |
getReturnType() |
java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
public MethodType(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> formalArgumentTypes,
com.github.javaparser.resolution.types.ResolvedType returnType,
java.util.List<com.github.javaparser.resolution.types.ResolvedType> exceptionTypes)
public static MethodType fromMethodUsage(com.github.javaparser.resolution.MethodUsage methodUsage)
public java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
public java.util.List<com.github.javaparser.resolution.types.ResolvedType> getFormalArgumentTypes()
public com.github.javaparser.resolution.types.ResolvedType getReturnType()
public java.util.List<com.github.javaparser.resolution.types.ResolvedType> getExceptionTypes()