@NotNull
  public static CodeStyleSettings getSettings(@NotNull Project project, @NotNull VirtualFile file) {
    CodeStyleSettings localOrTempSettings = getLocalOrTemporarySettings(project);
    if (localOrTempSettings != null) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("localOrTemp settings for " + file.getName());
      }
      return localOrTempSettings;
    }
    return getCachedOrProjectSettings(project, file);
  }
@NotNull
  public static CodeStyleSettings getSettings(@NotNull Project project, @NotNull VirtualFile file)