T - public class MethodSignature<T> extends Object
| Constructor and Description |
|---|
MethodSignature(T returnType,
List<T> paramTypes,
T varArgType) |
| Modifier and Type | Method and Description |
|---|---|
static <T> MethodSignature<T> |
create(boolean isVarArg,
T returnType,
T... paramTypes) |
static <T> MethodSignature<T> |
create(T returnType,
List<T> parameterTypes,
T varArgType) |
boolean |
equals(Object obj) |
List<T> |
getParameterTypes() |
T |
getReturnType() |
T |
getVarArgType() |
int |
hashCode() |
boolean |
isVararg() |
String |
toString() |
public T getReturnType()
public T getVarArgType()
public boolean isVararg()
public static <T> MethodSignature<T> create(T returnType, List<T> parameterTypes, T varArgType)
public static <T> MethodSignature<T> create(boolean isVarArg, T returnType, T... paramTypes)
returnType - isVarArg - If true, the last paramType becomes the vararg typeparamTypes - Copyright © 2013. All Rights Reserved.