private void append(Type type) {
            Class<?> clazz = type.getNaturalClass();

            TypeDesc[] param;
            if (type.isPrimitive()) {
                if (clazz == byte.class || clazz == short.class) {
                    clazz = int.class;
                }
                param = new TypeDesc[] {makeDesc(clazz)};
            }
            else if (clazz == String.class) {
                param = cStringParam;
            }
            else {
                param = cObjectParam;
            }

            mBuilder.invokeVirtual("java.lang.StringBuilder", "append",
                                   cStringBuilderDesc, param);
        }