void (@NotNull final OrderEntry orderEntry) { final ProjectStructureConfigurable config = ProjectStructureConfigurable.getInstance(myProject); ShowSettingsUtil.getInstance().editConfigurable(myProject, config, () -> { if (orderEntry instanceof JdkOrderEntry) { config.select(((JdkOrderEntry)orderEntry).getJdk(), true); } else { config.select((LibraryOrderEntry)orderEntry, true); } }); }