code: public void setSendCollectionType(boolean isSendType) {
          if (_collectionSerializer == null)
              _collectionSerializer = new CollectionSerializer();
  
          _collectionSerializer.setSendJavaType(isSendType);
  
          if (_mapSerializer == null)
              _mapSerializer = new MapSerializer();
  
          _mapSerializer.setSendJavaType(isSendType);
      }
docs: Set true if the collection serializer should send the java type.