@ApiStatus.Internal
  public static void collect(@NotNull Consumer<? super Configurable> visitor, Configurable @NotNull [] configurables) {
    for (Configurable configurable : configurables) {
      visitor.accept(configurable);
      if (configurable instanceof Configurable.Composite) {
        collect(visitor, ((Configurable.Composite)configurable).getConfigurables());
      }
    }
  }
@ApiStatus.Internal
  public static void collect(@NotNull Consumer<? super Configurable> visitor, Configurable @NotNull [] configurables)