code: public Map<String, TemplateTokenInfo> getTokensAsMap() {
          HashMap<String, TemplateTokenInfo> tokens = new HashMap<String, TemplateTokenInfo>();
          for (TemplateTokenInfo tokenInfo : tokenInfos)
              tokens.put(tokenInfo.getName(), tokenInfo);
          return Collections.unmodifiableMap(tokens);
      }
docs: returns a map keyed with the token name
  
  @return