protected function getPropertyWriters(\ReflectionClass $originalClass)
    {
        $propertyWriters = $this->getProperties($originalClass, \ReflectionProperty::IS_PRIVATE);

        foreach ($propertyWriters as &$property) {
            $property = new PropertyAccessor($property, 'Writer');
        }

        return $propertyWriters;
    }