void (@NotNull List<? extends SettingsEditorFragment<Settings, ?>> fragments) { for (SettingsEditorFragment<Settings, ?> fragment : fragments) { JComponent component = fragment.getComponent(); addLine(component); if (fragment.getHintComponent() != null) { addLine(fragment.getHintComponent(), TOP_INSET, getLeftInset(component), 0); } } }