void (@NotNull Sdk jdk) { ApplicationManager.getApplication().assertWriteAccessAllowed(); if (mySdks.contains(jdk)) { throw new IllegalStateException("Sdk " + jdk + " is already registered."); } mySdks.add(jdk); ApplicationManager.getApplication().getMessageBus().syncPublisher(JDK_TABLE_TOPIC).jdkAdded(jdk); }