private FullTypeSignature getTypeSignature ( Class < ? > clazz ) { StringBuilder sb = new StringBuilder ( ) ; if ( clazz . isArray ( ) ) { sb . append ( clazz . getName ( ) ) ; } else if ( clazz . isPrimitive ( ) ) { sb . append ( primitiveTypesMap . get ( clazz ) . toString ( ) ) ; } else { sb . append ( ' ' ) . append ( clazz . getName ( ) ) . append ( ' ' ) ; } return TypeSignatureFactory . getTypeSignature ( sb . toString ( ) , false ) ; }
get the type signature corresponding to given class