public static void addTypeMapper ( Class < ? > clz , Class < ? > mapper ) { synchronized ( classMapper ) { LinkedHashSet < Class < ? > > h = classMapper . get ( clz ) ; if ( h == null ) { h = new LinkedHashSet < Class < ? > > ( ) ; classMapper . put ( clz , h ) ; } h . add ( mapper ) ; } }
Field type convertor for all classes