Exemple #1
0
 public <T> T map(Object source, T target, Context context) {
   contextManager.replaceShared(context);
   map(source, target, (Object) null);
   contextManager.restoreShared();
   return target;
 }
Exemple #2
0
 public <T> T map(Object source, T target, Object mappingCase, Context context) {
   contextManager.replaceShared(context);
   map(source, target, mappingCase);
   contextManager.restoreShared();
   return target;
 }
Exemple #3
0
 public <T> T map(Object source, Class<T> targetClass, Context context) {
   contextManager.replaceShared(context);
   T target = map(source, targetClass);
   contextManager.restoreShared();
   return target;
 }