/**
  * @return ReflectionMethodMagic[]
  */
 public function getOwnMagicMethods()
 {
     if ($this->ownMagicMethods === NULL) {
         $this->ownMagicMethods = [];
         if ($this->reflectionClass->isVisibilityLevelPublic() && $this->reflectionClass->getDocComment()) {
             $extractor = new AnnotationMethodExtractor($this->reflectionClass->getReflectionFactory());
             $this->ownMagicMethods += $extractor->extractFromReflection($this->reflectionClass);
         }
     }
     return $this->ownMagicMethods;
 }