boolean (@NotNull String invokedClassFqn) { if (!isCurrentThreadEdt()) return false; // do not do anything for non-EDT calls ApplicationEx application = getApplicationEx(); // Don't need WriteIntent lock if implicit read is enabled: it is already // taken on EDT (write thread is EDT now no matter what) if (application.isWriteIntentLockAcquired() && !ourImplicitReadOnEDTDisabled) return false; return application.acquireWriteIntentLock(invokedClassFqn); }