private < D , S > JMapper < D , S > getJMapper ( HashMap < String , JMapper > map , Object source ) { Class < ? > sourceClass = source instanceof Class ? ( ( Class < ? > ) source ) : source . getClass ( ) ; JMapper < D , S > jMapper = map . get ( sourceClass . getName ( ) ) ; if ( jMapper == null ) Error . classNotMapped ( source , configuredClass ) ; return jMapper ; }
Returns the desired JMapper instance .