if (useClassName) {
if (useClassName && object != null) {
    protected void appendClassName(StringBuffer buffer, Object object) {        if (useClassName) {            if (useShortClassName) {                buffer.append(getShortClassName(object.getClass()));            } else {                buffer.append(object.getClass().getName());            }        }    }