public static class MethodDescription.TypeToken
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.List<? extends TypeDescription> |
parameterTypes
The represented method's raw parameter types.
|
private TypeDescription |
returnType
The represented method's raw return type.
|
Constructor and Description |
---|
TypeToken(TypeDescription returnType,
java.util.List<? extends TypeDescription> parameterTypes)
Creates a new type token.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.util.List<TypeDescription> |
getParameterTypes()
Returns this token's parameter types.
|
TypeDescription |
getReturnType()
Returns this token's return type.
|
int |
hashCode() |
java.lang.String |
toString() |
private final TypeDescription returnType
private final java.util.List<? extends TypeDescription> parameterTypes
public TypeToken(TypeDescription returnType, java.util.List<? extends TypeDescription> parameterTypes)
returnType
- The represented method's raw return type.parameterTypes
- The represented method's raw parameter types.public TypeDescription getReturnType()
public java.util.List<TypeDescription> getParameterTypes()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object