code: public void registerTransformer(Class<?> keyClass, Class<? extends Transformer> transformerClass) {
        transformerTypes.put(keyClass, transformerClass);
     }
docs: Registers a {@link org.infinispan.query.Transformer} for the supplied key class.
  
  @param keyClass         the key class for which the supplied transformerClass should be used
  @param transformerClass the transformer class to use for the supplied key class