code: public void setParentGroups(final List<TemplateTokenInfo> tokenInfos) {
          // inefficient, perhaps should look into being provided a map of tokenInfos
          // - keep double itterator for now as
          // probably irrelevant in the face of speed as a whole
          for (final String tokenName : containsString) {
              for (final TemplateTokenInfo tokenInfo : tokenInfos) {
                  if (tokenName.equals(tokenInfo.getName())) {
                      tokenInfo.setParentGroup(this);
                      break;
                  }
              }
          }
      }
docs: sets the parent group of all its contained tokens
  
  @param tokenInfos