public String toCode() {
        String ret = "";
        if (StringUtils.isEmpty(scope)) {
            ret = "private ";
        } else {
            ret = scope + ClassCode.BLANK_STRING;
        }
        
        ret += type + ClassCode.BLANK_STRING + name;
        
        if (!StringUtils.isEmpty(defaultValue)) {
            ret += "=" + defaultValue;
        }
        
        return ret;
    }
public String toCode ( ) { String ret = "" ; if ( StringUtils . isEmpty ( scope ) ) { ret = "private " ; } else { ret = scope + ClassCode . BLANK_STRING ; } ret += type + ClassCode . BLANK_STRING + name ; if ( ! StringUtils . isEmpty ( defaultValue ) ) { ret += "=" + defaultValue ; } return ret ; }
To code.

@return the string