newMethod.setNative(false);
newMethod.setReturnType(context.getVoid());
newMethod.setStatic(false);
newMethod.setVisibility(Visibility.PUBLIC);
final NewMethodParameter callback = newMethod.newParameter();
callback.setFinal(true);
callback.setName(Constants.ASYNC_CALLBACK_PARAMETER_NAME);
callback.setType(this.getAsyncCallback());
context.debug(newMethod.toString());
context.unbranch();
}