private function getOrCreateProperty(PropertiesDefinitionInterface $definition, $propName)
    {
        if ($definition->hasProperty($propName)) {
            return $definition->getProperty($propName);
        }
        $property = new DefaultProperty($propName);
        $definition->addProperty($property);

        return $property;
    }