private void initCalendarTransformers() {
    cache.put(
        new TransformKey(LinkedHashMap.class, CalendarModel.class),
        new ToCalendarModelTransformer());
    cache.put(
        new TransformKey(LinkedHashMap.class, CalendarEventModel.class),
        new ToCalendarEventModelTransformer());
    cache.put(
        new TransformKey(LinkedHashMap.class, CalendarEventModel.CalendarEventTime.class),
        new ToCalendarEventTimeTransformer());
    cache.put(
        new TransformKey(LinkedHashMap.class, CalendarAttendeeModel.class),
        new ToCalendarAttendeeModelTransformer());
    cache.put(
        new TransformKey(CalendarModel.class, LinkedHashMap.class),
        new ToGraphCalendarTransformer());
    cache.put(
        new TransformKey(CalendarEventModel.class, LinkedHashMap.class),
        new ToGraphEventTransformer());
  }
Dispatches to a cached function based on input and result types to perform a transformation.
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/transformer/TransformerServiceImpl.java