void (@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()); } } }