docs: @SuppressWarnings("static-method")
  	protected String getDefaultMavenGroupId() {
  		final String userdomain = System.getenv("userdomain"); //$NON-NLS-1$
  		if (Strings.isNullOrEmpty(userdomain)) {
  			return "com.foo"; //$NON-NLS-1$
  		}
  		final String[] elements = userdomain.split(Pattern.quote(".")); //$NON-NLS-1$
  		final StringBuilder groupId = new StringBuilder();
  		for (int i = elements.length - 1; i >= 0; --i) {
  			if (groupId.length() > 0) {
  				groupId.append("."); //$NON-NLS-1$
  			}
  			groupId.append(elements[i]);
  		}
  		return groupId.toString();
  	}