@Override
      public @Nullable InspectionProfileImpl loadProfileByPath(@NotNull String profilePath) {
        InspectionProfileImpl inspectionProfileFromYaml = tryLoadProfileFromYaml(profilePath,
                                                                                 InspectionToolRegistrar.getInstance(),
                                                                                 (BaseInspectionProfileManager)InspectionProjectProfileManager.getInstance(project));
        if (inspectionProfileFromYaml != null) return inspectionProfileFromYaml;

        try {
          InspectionProfileImpl inspectionProfile = ApplicationInspectionProfileManagerBase.getInstanceBase().loadProfile(profilePath);
          if (inspectionProfile != null) {
            reportMessage(1, "Loaded the '" + inspectionProfile.getName() + "' profile from the file '" + profilePath + "'");
          }
          return inspectionProfile;
        }
        catch (IOException e) {
          throw new InspectionApplicationException("Failed to read inspection profile file '" + profilePath + "': " + e);
        }
        catch (JDOMException e) {
          throw new InspectionApplicationException("Invalid xml structure of inspection profile file '" + profilePath + "': " + e);
        }
      }
@Override
      public @Nullable InspectionProfileImpl loadProfileByPath(@NotNull String profilePath)