src/org/nutz/repo/org/objectweb/asm/Type.java
public static String getDescriptor(final Class<?> c) {
        StringBuilder buf = new StringBuilder();
        getDescriptor(buf, c);
        return buf.toString();
    }
public static String getDescriptor(final Class<?> c) {
        StringBuilder buf = new StringBuilder();
        getDescriptor(buf, c);
        return buf.toString();
    }
public static String getDescriptor ( final Class < ? > c ) { StringBuilder buf = new StringBuilder ( ) ; getDescriptor ( buf , c ) ; return buf . toString ( ) ; }
Returns the descriptor corresponding to the given Java type.

@param c
an object class, a primitive class or an array class.
@return the descriptor corresponding to the given class.
Returns the descriptor corresponding to the given Java type .