void () { String error = isAlwaysAllowed() ? null : EDT.isCurrentThreadEdt() ? (isSlowOperationAllowed() ? null : ERROR_EDT) : (ApplicationManager.getApplication().isReadAccessAllowed() ? ERROR_RA : null); if (error == null || isAlreadyReported()) return; LOG.error(error); }