JEnumConstant ec = new JEnumConstant(this, name); enumConstantsByName.put(name, ec); return ec;
JEnumConstant ec = enumConstantsByName.get(name); if (null == ec) { ec = new JEnumConstant(this, name); enumConstantsByName.put(name, ec); } return ec;
    public JEnumConstant enumConstant(String name){        JEnumConstant ec = new JEnumConstant(this, name);        enumConstantsByName.put(name, ec);    	return ec;    }