@Nullable
  public static PsiFile getSettingsPsi(@NotNull PsiFile file) {
    if (hasLocalVirtualFile(file)) return file;
    PsiFile originalFile = file.getUserData(PsiFileFactory.ORIGINAL_FILE);
    if (originalFile != null) {
      return getSettingsPsi(originalFile);
    }
    return null;
  }
@Nullable
  public static PsiFile getSettingsPsi(@NotNull PsiFile file)