jodd-core/src/main/java/jodd/util/ClassUtil.java
public static String typeToString(final Type type) {
		StringBuilder sb = new StringBuilder();
		typeToString(sb, type, new HashSet<Type>());
		return sb.toString();
	}
public static String typeToString(final Type type) {
		StringBuilder sb = new StringBuilder();
		typeToString(sb, type, new HashSet<Type>());
		return sb.toString();
	}
public static String typeToString ( final Type type ) { StringBuilder sb = new StringBuilder ( ) ; typeToString ( sb , type , new HashSet < Type > ( ) ) ; return sb . toString ( ) ; }
Converts <code>Type</code> to a <code>String</code>. Supports successor interfaces:
<ul>
<li><code>java.lang.Class</code> - represents usual class</li>
<li><code>java.lang.reflect.ParameterizedType</code> - class with generic parameter (e.g. <code>List</code>)</li>
<li><code>java.lang.reflect.TypeVariable</code> - generic type literal (e.g. <code>List</code>, <code>T</code> - type variable)</li>
<li><code>java.lang.reflect.WildcardType</code> - wildcard type (<code>List&lt;? extends Number&gt;</code>, <code>"? extends Number</code> - wildcard type)</li>
<li><code>java.lang.reflect.GenericArrayType</code> - type for generic array (e.g. <code>T[]</code>, <code>T</code> - array type)</li>
</ul>
Converts <code > Type< / code > to a <code > String< / code > . Supports successor interfaces : <ul > <li > <code > java . lang . Class< / code > - represents usual class< / li > <li > <code > java . lang . reflect . ParameterizedType< / code > - class with generic parameter ( e . g . <code > List< / code > ) < / li > <li > <code > java . lang . reflect . TypeVariable< / code > - generic type literal ( e . g . <code > List< / code > <code > T< / code > - type variable ) < / li > <li > <code > java . lang . reflect . WildcardType< / code > - wildcard type ( <code > List&lt ; ? extends Number&gt ; < / code > <code > ? extends Number< / code > - wildcard type ) < / li > <li > <code > java . lang . reflect . GenericArrayType< / code > - type for generic array ( e . g . <code > T [] < / code > <code > T< / code > - array type ) < / li > < / ul >