APISonar


melnorme.lang.ide.core.LangCore.log

> melnorme > lang > ide > core > LangCore > log
melnorme APIs lang APIs ide APIs core APIs LangCore APIs log APIs

Example 1
protected ExternalProcessNotifyingHelper readFromStartedProcess(Process process, ICancelMonitor pm) {
		handleProcessStartResult(new ProcessStartHelper() {
			@Override
			public void addProcessListener(IProcessOutputListener listener) throws CommonException {
				assertNotNull(processListeners);
				processListeners.add(listener);
			}
		});
		
		try {
			return new ExternalProcessNotifyingHelper(process, true, pm, processListeners, LangCore.log());
		} finally {
			processListeners = null; // Set to null to fail fast if anyone else tries to modify afterward.
		}
	}