void (boolean shouldWait, boolean lightEditMode, @NotNull Disposable disposable) { ourCommandLineOptions.set(new LightEditCommandLineOptions(shouldWait, lightEditMode)); Disposer.register(disposable, new Disposable() { @Override public void dispose() { ourCommandLineOptions.set(null); } }); }