code: static SafeHtml memberItem(final String css, final Principal principal) {
          String principalTypeCss = principal.getType() == Principal.Type.USER ? "icon-user" : "icon-group";
          StringBuilder title = new StringBuilder();
          title.append(principal.getName());
          if (principal.getRealm() != null) {
              title.append(" (at) ").append(principal.getRealm());
          }
  
          if (principal.getRealm() == null) {
              return ITEMS.member(css, principal.getName(), title.toString(), principalTypeCss);
          } else {
              return ITEMS.memberWithRealm(css, principal.getName(), title.toString(), principalTypeCss,
                      principal.getRealm());
          }
      }
docs: ------------------------------------------------------ member