if (g == null) {
if (g != null) {  Grouper.LOGGER.warn( "Cannot create `" + GrouperBackend.groupName(stem, extn) + "' (" + type + ") as it already exists." );  g = null; } else {
  private static GrouperGroup _create(                                      GrouperSession s, String stem,                                       String extn, String type                                     )  {    // Check to see if the group already exists.    GrouperGroup g = GrouperGroup._lookupByStemExtn(s, stem, extn, type);    if (g == null) {      // TODO Can I move all|most of this to GrouperBackend?      g = new GrouperGroup();      // Attach session      g.grprSession  = s;      // Generate the UUIDs      g.setGroupKey( GrouperBackend.uuid() );      g.setGroupID(  GrouperBackend.uuid() );      g._attrAdd("stem",      stem);      g._attrAdd("extension", extn);      g._attrAdd("name",      GrouperBackend.groupName(stem, extn));      g.type = type;      // Set some of the operational attributes      /*       * TODO Most, if not all, of the operational attributes should be       *      handled by Hibernate interceptors.  A task for another day.       */      g.setCreateTime(    GrouperGroup._now() );      g.setCreateSubject( s.subject().getId() );      // Verify that we have everything we need to create a group      // and that this subject is privileged to create this group.      if (g._validateCreate()) {        // And now attempt to add the group to the store        if (GrouperBackend.groupAdd(s, g)) {        } else {          g = null;          }      } else {        // TODO Log        g = null;      }    }    return g;  }