transformers.put(returnType, javaTransform);
}
@Override
protected Object customTransform(Object arg, Class<?> parameterType, Locale locale) throws Throwable {
Transformable transformer = transformers.get(parameterType);
return transformer == null ? null : transformer.transform(arg, locale);
}