src/main/java/org/helm/notation2/parser/notation/HELM2Notation.java
public String annotationToHELM2() {
    if (!(annotationSection.isEmpty())) {
      StringBuilder sb = new StringBuilder();
      for (int i = 0; i < annotationSection.size(); i++) {
        sb.append(annotationSection.get(i).toHELM2() + "|");
      }

      sb.setLength(sb.length() - 1);
      return sb.toString();
    }
    return "";
  }
public String annotationToHELM2() {
    if (!(annotationSection.isEmpty())) {
      StringBuilder sb = new StringBuilder();
      for (int i = 0; i < annotationSection.size(); i++) {
        sb.append(annotationSection.get(i).toHELM2() + "|");
      }

      sb.setLength(sb.length() - 1);
      return sb.toString();
    }
    return "";
  }
public String annotationToHELM2 ( ) { if ( ! ( annotationSection . isEmpty ( ) ) ) { StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < annotationSection . size ( ) ; i ++ ) { sb . append ( annotationSection . get ( i ) . toHELM2 ( ) + "|" ) ; } sb . setLength ( sb . length ( ) - 1 ) ; return sb . toString ( ) ; } return "" ; }
method to generate a valid HELM2 string for the fourth section

@return valid HELM2 String
method to generate a valid HELM2 string for the fourth section