boolean (@NotNull final String fromName, @NotNull final String toName) { return ReadAction.compute(() -> { synchronized (myDataLock) { final boolean result = myModifier.editName(fromName, toName); scheduleChangesViewRefresh(); return result; } }); }