@Override
  public @Nullable StructureViewBuilder getStructureViewBuilder(final @NotNull PsiFile psiFile) {
    if (!(psiFile instanceof JsonFile)) {
      return null;
    }

    List<JsonCustomStructureViewFactory> extensionList = JsonCustomStructureViewFactory.EP_NAME.getExtensionList();
    if (extensionList.size() > 1) {
      Logger.getInstance(JsonStructureViewBuilderFactory.class)
        .warn("Several extensions are registered for JsonCustomStructureViewFactory extension point. " +
              "Conflicts can arise if there are several builders corresponding to the same file.");
    }

    for (JsonCustomStructureViewFactory extension : extensionList) {
      final StructureViewBuilder builder = extension.getStructureViewBuilder((JsonFile)psiFile);
      if (builder != null) {
        return builder;
      }
    }

    return new TreeBasedStructureViewBuilder() {
      @Override
      public @NotNull StructureViewModel createStructureViewModel(@Nullable Editor editor) {
        return new JsonStructureViewModel(psiFile, editor);
      }
    };
  }
@Override
  public @Nullable StructureViewBuilder getStructureViewBuilder(final @NotNull PsiFile psiFile)