void (@Nullable final ConsoleViewImpl console) { if (console == null) { // Not set yet return; } if (console.getProject().isDisposed()) { throw new AssertionError( "=== Console is stale. Make sure you did not cache and reuse runner from prev. run. See this method doc for more info === "); } }