private function __construct($value, $input, $generatorName, array $annotations = [])
{
if ($value instanceof self) {
throw new InvalidArgumentException("It looks like you are trying to build a GeneratedValue whose value is another GeneratedValue. This is almost always an error as values will be passed as-is to properties and GeneratedValue should be hidden from them.");
}
$this->value = $value;
$this->input = $input;
$this->generatorName = $generatorName;
$this->annotations = $annotations;
}