void (@Nullable Sdk sdk) { if (isDefault() && sdk != null) { JavaSdkVersion version = JavaSdk.getInstance().getVersion(sdk); if (version != null) { setLanguageLevel(version.getMaxLanguageLevel()); setDefault(true); } } }