public String toInfoString() {
        final StringBuilder sb = new StringBuilder();
        if (name != null) {
            sb.append(name);
        }
        if (uuid != null) {
            //noinspection SizeReplaceableByIsEmpty // Not in GWT
            if (sb.length() > 0) {
                sb.append(" ");
            }
            sb.append("{");
            sb.append(uuid);
            sb.append("}");
        }

        //noinspection SizeReplaceableByIsEmpty // Not in GWT
        if (sb.length() > 0) {
            return sb.toString();
        }

        return toString();
    }
@return The name of the 'document' being referenced
stroom-docref/src/main/java/stroom/docref/DocRef.java