List<VariableElement> methodParams = (List<VariableElement>) methodDecl.getParameters();
List ptypes = new ArrayList();
List ps = new ArrayList();
for(Iterator<VariableElement> i=methodParams.iterator(); i.hasNext(); ) {
VariableElement m = i.next();
TypeMirror tm = m.asType();
ptypes.add(tm.toString());
ps.add(m.getSimpleName().toString());
}
formatter.printText("@SuppressWarnings(\"rawtypes\")");
formatter.openMethod(false, AccessSpecifier.PUBLIC, "IFuture", methodDecl.getSimpleName()+IAsyncRemoteServiceProxy.ASYNC_METHOD_SUFFIX, (String[]) ptypes.toArray(new String[] {}), (String[]) ps.toArray(new String[] {}), false);