String getTemplateOfMap ( Type [ ] actualTypeArguments , IJsonMarshaller jsonMarshaller ) { StringBuilder res = new StringBuilder ( "{" ) ; boolean first = true ; for ( Type actualTypeArgument : actualTypeArguments ) { if ( ! first ) { res . append ( ":" ) ; } res . append ( _getTemplateOfType ( actualTypeArgument , jsonMarshaller ) ) ; first = false ; } res . append ( "}" ) ; return res . toString ( ) ; }
Get template of map class from generic type