void (@NotNull SdkModificator sdkModificator, @NotNull Sdk javaSdk) { if (!addOrderEntries(JavadocOrderRootType.getInstance(), javaSdk, sdkModificator) && SystemInfo.isMac) { Sdk[] jdks = ProjectJdkTable.getInstance().getAllJdks(); for (Sdk jdk : jdks) { if (jdk.getSdkType() instanceof JavaSdk) { addOrderEntries(JavadocOrderRootType.getInstance(), jdk, sdkModificator); break; } } } }