private static void appendTo()

in core/src/main/java/org/apache/commons/proxy2/impl/MethodSignature.java [69:84]


    private static void appendTo(StringBuilder buf, Class<?> type)
    {
        if (type.isPrimitive())
        {
            buf.append(PRIMITIVE_ABBREVIATIONS.get(type));
        }
        else if (type.isArray())
        {
            buf.append('[');
            appendTo(buf, type.getComponentType());
        }
        else
        {
            buf.append('L').append(type.getName().replace('.', '/')).append(';');
        }
    }