final NewNestedInterfaceType serializationFactoryComposer = client.newNestedInterfaceType();
final List<Type> parameterTypes = new ArrayList<Type>();
final Iterator<MethodParameter> methodParameters = method.getParameters().iterator();
while (methodParameters.hasNext()) {
final MethodParameter parameter = methodParameters.next();
parameterTypes.add(parameter.getType());
}
final Method serviceMethod = serviceInterface.findMethod(method.getName(), parameterTypes);
final List<Method> serviceMethods = new ArrayList<Method>();
serviceMethods.addAll(serviceInterface.getMethods());