class FragmentWithLanguage {
  
  private final String langCode;
  private final String fragment;
  
  FragmentWithLanguage(String langCode, String fragment) {
    this.langCode = Objects.requireNonNull(langCode);
    this.fragment = Objects.requireNonNull(fragment);
  }
  
  public String getLangCode() {
    return langCode;
  }
  
  public String getFragment() {
    return fragment;
  }
  
  @Override
  public String toString() {<FILL_FUNCTION_BODY>}
}

    return "| " + langCode + ": " + fragment + " |";
  
<no_super_class>