docs: @Nullable
    public static <T> T findEnclosingNode(TreePath path, Class<T> klass) {
      path = findPathFromEnclosingNodeToTopLevel(path, klass);
      return (path == null) ? null : klass.cast(path.getLeaf());
    }