public synchronized GroupJID getJID() {
        if (jid == null) {
            jid = new GroupJID(getName());
        }
        return jid;
    }
Returns a JID for the group based on the group name. This
instance will be of class GroupJID to distinguish it from
other types of JIDs in the system.

This method is synchronized to ensure each group has only
a single JID instance created via lazy instantiation.

@return A JID for the group.
xmppserver/src/main/java/org/jivesoftware/openfire/group/Group.java