/**
  * @param string $name
  *
  * @return false|\Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface
  */
 protected function findMethod($name)
 {
     if ($method = $this->ownBody->getOwnMethod($name)) {
         return $method;
     }
     if (NULL !== ($parentClass = $this->extends->getParentClass())) {
         if ($method = $this->extends->getParentClass()->getOwnMethod($name)) {
             return $method;
         }
     }
     foreach ($this->interfacesAll->getAllInterfaces(FALSE) as $interface) {
         $method = $interface->getOwnMethod($name);
         if (FALSE !== $method) {
             return $method;
         }
     }
     return NULL;
 }
 /**
  * @param string $name
  *
  * @return null|\Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface
  */
 function getOwnMethod($name)
 {
     return $this->ownBody->getOwnMethod($name);
 }