void (JpsModule module, @Nullable JpsSdk<JpsDummyElement> sdk) { module.getSdkReferencesTable().setSdkReference(JpsJavaSdkType.INSTANCE, sdk != null ? sdk.createReference() : null); addSdkDependencyIfNeeded(module); }