boolean (@NotNull MavenDomProjectModel projectDom, @NotNull final Processor<MavenDomDependencies> processor) { Function<MavenDomProjectModelBase, MavenDomDependencies> domFunction = mavenDomProfile -> mavenDomProfile.getDependencies(); return process(projectDom, processor, projectDom.getManager().getProject(), domFunction, domFunction); }