boolean (@NotNull CompositePackagingElement<?> element, @NotNull List<? extends Pair<Artifact, CompositePackagingElement<?>>> parents, @NotNull Artifact artifact) { if (parents.size() == 1) { final Pair<Artifact, CompositePackagingElement<?>> parent = parents.get(0); result.set(new ParentElementsInfo(parent.getFirst(), parent.getSecond(), artifact, element)); return false; } return true; }