public static class MethodDescription.TypeToken extends Object
| Constructor and Description |
|---|
TypeToken(TypeDescription returnType,
List<? extends TypeDescription> parameterTypes)
Creates a new type token.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
List<TypeDescription> |
getParameterTypes()
Returns this token's parameter types.
|
TypeDescription |
getReturnType()
Returns this token's return type.
|
int |
hashCode() |
String |
toString() |
public TypeToken(TypeDescription returnType, List<? extends TypeDescription> parameterTypes)
returnType - The represented method's raw return type.parameterTypes - The represented method's raw parameter types.public TypeDescription getReturnType()
public List<TypeDescription> getParameterTypes()
Copyright © 2014–2016. All rights reserved.