private function hasFileEncryptionEnabled(\ReflectionClass $reflection)
    {
        $classMetadata = $this->getEncryptionMetadataFor($reflection->getName());
        return $classMetadata->encryptionEnabled && $classMetadata->encryptedFile;
    }