final Method method = newType.getMostDerivedMethod(Constants.CREATE_GWT_RPC_PROXY_METHOD, Collections.<Type>emptyList());
final NewMethod newMethod = method.copy(newType);
newMethod.setAbstract(false);
newMethod.setFinal(true);
final GwtCreateTemplatedFile template = new GwtCreateTemplatedFile();
template.setType(serviceInterface);
newMethod.setBody(template);
}