void (@NotNull SettingsStep settingsStep) { for (WizardInputField field : myTemplate.getInputFields()) { field.addToSettings(settingsStep); } if(myTemplate.getInputFields().isEmpty()){ settingsStep.addSettingsComponent(new JLabel()); } }