public T returnType(GenericType type) { locator.returnType = type.getRawType(); locator.genericReturnType = type.getType(); return (T) this; }
public T returnType(Class<?> type) { locator.returnType = type; return (T) this; }