public static <T> boolean process(@NotNull MavenDomProjectModel projectDom,
                                    @NotNull final Processor<? super T> processor,
                                    @NotNull final Project project,
                                    @NotNull final Function<? super MavenDomProfile , T> domProfileFunction,
                                    @NotNull final Function<? super MavenDomProjectModel, T> projectDomFunction) {

    return process(projectDom, processor, project, domProfileFunction, projectDomFunction, new HashSet<>());
  }
public static <T> boolean process(@NotNull MavenDomProjectModel projectDom,
                                    @NotNull final Processor<? super T> processor,
                                    @NotNull final Project project,
                                    @NotNull final Function<? super MavenDomProfile , T> domProfileFunction,
                                    @NotNull final Function<? super MavenDomProjectModel, T> projectDomFunction)