172173174175176177178179
throw new IllegalArgumentException("model must not be null"); //$NON-NLS-1$ } if (writer == null) { throw new IllegalArgumentException("writer must not be null"); //$NON-NLS-1$ } ModelEmitter emitter = new ModelEmitter(writer); emitter.emit(model); }