ModuleWizardStep (WizardContext context, SdkType type, final JavaModuleBuilder builder, final Computable<Boolean> isVisible, final Icon icon, @NonNls final String helpId) { return new ProjectJdkForModuleStep(context, type, helpId) { @Override public void updateDataModel() { super.updateDataModel(); builder.setModuleJdk(getJdk()); } @Override public boolean isStepVisible() { return isVisible.compute().booleanValue(); } @Override public Icon getIcon() { return icon; } @Override public String getName() { return "Specify JDK"; } }; }