void (@Nullable Sdk sdk) { if (sdk != null) { final Sdk foundJdk = ReadAction.compute(() -> ProjectJdkTable.getInstance().findJdk(sdk.getName())); if (foundJdk == null) { WriteAction.run(() -> ProjectJdkTable.getInstance().addJdk(sdk, myFixture.getProjectDisposable())); } } }