boolean (@NotNull PackagingElement<?> parentElement, @NotNull PackagingElementNode<?> parentNode, @NotNull Collection<? extends PackagingElementNode<?>> children) { final List<PackagingNodeSource> sources = new ArrayList<>(parentNode.getNodeSource(parentElement)); for (PackagingElementNode<?> child : children) { sources.addAll(child.getNodeSources()); } return checkCanModify(sources); }