ClassLoaderAdapterCallback has smarter return type inspection