void (@NotNull ChangeListener listener, @NotNull Disposable parent) { if (myPrimaryConsoleView instanceof ObservableConsoleView) { ((ObservableConsoleView)myPrimaryConsoleView).addChangeListener(listener, parent); } if (mySecondaryConsoleView instanceof ObservableConsoleView) { ((ObservableConsoleView)mySecondaryConsoleView).addChangeListener(listener, parent); } }