function isEnum($propName)
 {
     return isset($this->metadata->getProperty($propName)->enum);
 }
 function parseMetadataFromPropertyDefaults()
 {
     $refClass = new \ReflectionClass($this->name);
     $defaults = $refClass->getDefaultProperties();
     foreach ($refClass->getProperties(\ReflectionProperty::IS_PUBLIC) as $property) {
         $this->setupProp($name = $property->name, get($defaults, $name));
     }
 }