public static void createNewInspection(@NotNull Configuration configuration, @NotNull Project project) {
    createNewInspection(configuration, project, InspectionProfileManager.getInstance(project).getCurrentProfile());
  }
public static void createNewInspection(@NotNull Configuration configuration, @NotNull Project project)