void () { removedSdks.clear(); for (Sdk sdk : ProjectJdkTable.getInstance().getAllJdks()) { ProjectJdkTable.getInstance().removeJdk(sdk); if (GRADLE_JDK_NAME.equals(sdk.getName())) continue; removedSdks.add(sdk); } }