@ SuppressWarnings ( "unchecked" ) private static < T > Converter < Object , T > lookupConversionService ( Class from , Class to ) { for ( ConversionProvider converter : convServices ) { Converter c = converter . getConverter ( from , to ) ; if ( c != null ) { return c ; } } return null ; }
Lookup a conversion service