RuntimeModuleId (@NotNull ProductMode mode) { switch (mode) { case FRONTEND: return RuntimeModuleId.module("intellij.platform.localIde"); case LOCAL_IDE: return RuntimeModuleId.module("intellij.platform.frontend"); //this module doesn't exist yet, it will be added when we need to use it } throw new AssertionError(mode); }