public function getPropertyDefinitions()
{
if (null === $this->propertyDefinitions) {
$this->propertyDefinitions = $this->getDeclaredPropertyDefinitions();
foreach ($this->getSupertypes() as $nodeType) {
$this->propertyDefinitions = array_merge($this->propertyDefinitions, $nodeType->getDeclaredPropertyDefinitions());
}
}
return $this->propertyDefinitions;
}