public static ModuleRootManagerEx getInstanceEx(@NotNull Module module) {
    return (ModuleRootManagerEx) module.getComponent(ModuleRootManager.class);
  }
public static ModuleRootManagerEx getInstanceEx(@NotNull Module module)