docs: public static UserPreferences getCorePreferences(@CheckForNull IProject project, boolean forceRead) {
          if (project == null || !isProjectSettingsEnabled(project)) {
              // read workspace (user) settings from instance area
              return getWorkspacePreferences();
          }
  
          // use project settings
          return getProjectPreferences(project, forceRead);
      }