public static @NotNull InspectionProfileImpl load(@NotNull Path file,
                                                    @NotNull InspectionToolsSupplier registrar,
                                                    @NotNull InspectionProfileManager profileManager) throws JDOMException, IOException {
    Element element = JDOMUtil.load(file);
    String profileName = getProfileName(file, element);
    return load(element, profileName, registrar, profileManager);
  }
public static @NotNull InspectionProfileImpl load(@NotNull Path file,
                                                    @NotNull InspectionToolsSupplier registrar,
                                                    @NotNull InspectionProfileManager profileManager)