private AsyncTreeModel buildTreeModel(Set<? extends PsiFile> deps, Marker marker) {
    return new AsyncTreeModel(
      new BackgroundTreeModel(
        () -> Objects.requireNonNull(PatternDialectProvider.getInstance(mySettings.SCOPE_TYPE))
          .createTreeModel(myProject, deps, marker, mySettings),
        false
      ), this
    );
  }
private AsyncTreeModel buildTreeModel(Set<? extends PsiFile> deps, Marker marker)