public @NotNull FilteringTree.Matching checkMatching(@NotNull T node) {
    U userObject = myFilteringTree.getUserObject(node);
    if (userObject == null) return FilteringTree.Matching.NONE;

    String text = myFilteringTree.getText(userObject);
    if (text == null) return FilteringTree.Matching.NONE;

    Iterable<TextRange> matchingFragments = matchingFragments(text);
    return checkMatching(userObject, matchingFragments);
  }
public @NotNull FilteringTree.Matching checkMatching(@NotNull T node)