public static @Nullable Language getLanguageForPsi(@NotNull Project project, @Nullable VirtualFile file) {
    return getLanguageForPsi(project, file, null);
  }
public static @Nullable Language getLanguageForPsi(@NotNull Project project, @Nullable VirtualFile file)