docs: public static Tree UCPtransform(Tree t) {
      if (t == null) {
        return null;
      }
      Tree firstChild = t.firstChild();
      if (firstChild != null) {
        List<Pair<TregexPattern,TsurgeonPattern>> ops = Generics.newArrayList();
  
        for (int i = 0; i < operations.length; i++) {
          for (TregexPattern pattern : matchPatterns[i]) {
            ops.add(Generics.newPair(pattern, operations[i]));
          }
        }
  
        return Tsurgeon.processPatternsOnTree(ops, t);
      } else {
        return t;
      }
    }