boolean generate(StringBuilder sb, boolean isLastInList) {
      sb.append(myElement.getText());

      boolean newLineNeed = generateComments(sb, myBeforeSeparator);
      if (newLineNeed) {
        if (isLastInList && myAfterSeparator.isEmpty()) {
          return true;
        } else {
          sb.append("\n");
        }
      }

      if (!isLastInList) {
        sb.append(",");
      }
      return generateComments(sb, myAfterSeparator);
    }
boolean generate(StringBuilder sb, boolean isLastInList)