static < S , T > TypeAdapter < S , T > createAdapter ( Class < ? extends S > sourceType , Class < ? extends T > targetType ) { return doCreateAdapter ( targetType , AdapterMethodValidator . newInstance ( targetType , sourceType ) ) ; }
Get an adapter capable of transforming instances of a source type into instances of a target type .