code: private static void replaceParameters(Term t, StringBuilder b) {
          FunctionEnum f = t.getFunctionEnum();
          String fx = f.getShortestForm();
          b.append(fx).append("(");
          if (hasItems(t.getFunctionArguments())) {
              for (BELObject bo : t.getFunctionArguments()) {
                  if (Term.class.isAssignableFrom(bo.getClass())) {
                      Term inner = (Term) bo;
                      if (inner.getFunctionEnum() == PROTEIN_MODIFICATION ||
                          inner.getFunctionEnum() == SUBSTITUTION ||
                          inner.getFunctionEnum() == TRUNCATION) {
                          b.append(inner.toBELShortForm());
                      } else {
                          replaceParameters((Term) bo, b);
                      }
                  } else {
                      b.append("#");
                  }
                  b.append(",");
              }
              b.deleteCharAt(b.length() - 1);
              b.append(")");
          }
      }
docs: Builds a {@link String term string} where {@link Parameter parameters}
  are replaced with {@code #} characters.
  
  @param t {@link Term}
  @param b {@link StringBuilder}