public static ProjectWideFacetListenersRegistry getInstance(@NotNull Project project) {
    return project.getService(ProjectWideFacetListenersRegistry.class);
  }
public static ProjectWideFacetListenersRegistry getInstance(@NotNull Project project)