void (final @NotNull DocumentReference ref, final boolean isGlobal) { ApplicationManager.getApplication().assertWriteIntentLockAcquired(); if (myProject != null && myProject.isDisposed()) return; undoableActionPerformed(new NonUndoableAction(ref, isGlobal)); }