public function loadClassMetadata(LoadClassMetadataEventArgs $class)
    {
        $metaData = $class->getClassMetadata();
        $adoptees = $this->collector->getAdoptees($metaData->name);
        foreach ($adoptees as $discriminator => $adoptee) {
            $metaData->discriminatorMap[$discriminator] = $adoptee;
        }
    }