So the getCanonicalName() seems to have been done intentionally. See https://github.com/square/dagger/commit/5ac493eee74bf08fc72fa19408dcfd4de3d5ed67.