public static boolean processPackagingElements(@NotNull JpsPackagingElement element,
                                                 @NotNull Processor<? super JpsPackagingElement> processor) {
    return processPackagingElements(element, processor, new HashSet<>());
  }
public static boolean processPackagingElements(@NotNull JpsPackagingElement element,
                                                 @NotNull Processor<? super JpsPackagingElement> processor)