public <T> void addProjectExtension(@NotNull ExtensionPointName<T> name, final @NotNull T extension) {
    //noinspection TestOnlyProblems
    name.getPoint(project).registerExtension(extension, myParentDisposable);
  }
public <T> void addProjectExtension(@NotNull ExtensionPointName<T> name, final @NotNull T extension)