if there is no cache, you can't run `$this->cache->load...`. If you don't put this inline, you get:

````php
if (null !== $this->cache) {
    $metadata  = $this->cache->loadClassMetadataFromCache($reflection);
    if (null !== $metadata) {
        $this->resolvedMetadatas[$class] = $metadata;
    }
}
````

I'm not sure if I like that more than the current state...