public string ConvertToString(BaijiType type) { var listType = type as ListType; string actualType = typeToJavaConverter.ConvertToString(listType.Type); return("List<" + actualType + ">"); }
public string ConvertToString(BaijiType type) { var mapType = type as MapType; string actualKeyType = typeToJavaConverter.ConvertToString(mapType.KeyType); string actualValueType = typeToJavaConverter.ConvertToString(mapType.ValueType); return(string.Format("Map<{0}, {1}>", actualKeyType, actualValueType)); }