code: public static String resolveTemplate(String rawString, Table table) {
      if (StringUtils.isBlank(rawString)) {
        return rawString;
      }
      return StringUtils.replaceEach(rawString, new String[] { DATABASE_TOKEN, TABLE_TOKEN }, new String[] { table.getDbName(), table.getTableName() });
    }
docs: Resolve {@value #DATABASE_TOKEN} and {@value #TABLE_TOKEN} in <code>rawString</code> to {@link Table#getDbName()}
  and {@link Table#getTableName()}