@NotNull
  private JBIterator<T> filterMatchingNodes(JBIterator<T> nodes, boolean fullMatch) {
    return nodes.filter(item -> {
      FilteringTree.Matching matching = checkMatching(item);
      return fullMatch ? matching == FilteringTree.Matching.FULL : matching != FilteringTree.Matching.NONE;
    });
  }
@NotNull
  private JBIterator<T> filterMatchingNodes(JBIterator<T> nodes, boolean fullMatch)