public class MethodType extends Object
| Constructor and Description |
|---|
MethodType(List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters,
List<com.github.javaparser.resolution.types.ResolvedType> formalArgumentTypes,
com.github.javaparser.resolution.types.ResolvedType returnType,
List<com.github.javaparser.resolution.types.ResolvedType> exceptionTypes) |
| Modifier and Type | Method and Description |
|---|---|
static MethodType |
fromMethodUsage(com.github.javaparser.resolution.MethodUsage methodUsage) |
List<com.github.javaparser.resolution.types.ResolvedType> |
getExceptionTypes() |
List<com.github.javaparser.resolution.types.ResolvedType> |
getFormalArgumentTypes() |
com.github.javaparser.resolution.types.ResolvedType |
getReturnType() |
List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> |
getTypeParameters() |
public MethodType(List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters, List<com.github.javaparser.resolution.types.ResolvedType> formalArgumentTypes, com.github.javaparser.resolution.types.ResolvedType returnType, List<com.github.javaparser.resolution.types.ResolvedType> exceptionTypes)
public static MethodType fromMethodUsage(com.github.javaparser.resolution.MethodUsage methodUsage)
public List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> getTypeParameters()
public List<com.github.javaparser.resolution.types.ResolvedType> getFormalArgumentTypes()
public com.github.javaparser.resolution.types.ResolvedType getReturnType()
public List<com.github.javaparser.resolution.types.ResolvedType> getExceptionTypes()
Copyright © 2007–2019. All rights reserved.