void (@NotNull Configurable configurable, @NotNull List<? super Configurable> list) { if (configurable instanceof Configurable.Composite) { for (Configurable eachKid : ((Configurable.Composite)configurable).getConfigurables()) { list.add(eachKid); addChildren(eachKid, list); } } }