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