code: private static String makeMessage(int lineNumber, String line, String tline, String msg) {
          int columnNumber = (tline != null ? line.indexOf(tline) : 0);
          StringBuilder sb = new StringBuilder();
          if (msg != null) {
              sb.append(msg);
          }
          sb.append(" [lineNumber: ").append(lineNumber);
          if (columnNumber != -1) {
              String lspace = line.substring(0, columnNumber);
              int tabCnt = StringUtils.search(lspace, "\t");
              if (tline != null && tline.length() > 33) {
                  tline = tline.substring(0, 30) + "...";
              }
              sb.append(", columnNumber: ").append(columnNumber + 1);
              if (tabCnt != 0) {
                  sb.append(" (");
                  sb.append("Tabs ").append(tabCnt);
                  sb.append(", Spaces ").append(columnNumber - tabCnt);
                  sb.append(")");
              }
              sb.append("] ").append(tline);
          }
          return sb.toString();
      }
docs: Create a detail message.
  
  @param lineNumber the line number
  @param line the character line
  @param tline the trimmed character line
  @param msg the message
  @return the detail message