/**
  * @return bool
  */
 protected function calcHasMethods()
 {
     if ($this->ownBody->hasOwnMethods()) {
         return TRUE;
     }
     if (NULL !== ($parentClass = $this->extends->getParentClass())) {
         if ($parentClass->hasMethods()) {
             return TRUE;
         }
     }
     foreach ($this->interfacesAll->getAllInterfaces(FALSE) as $interface) {
         if ($interface->hasMethods()) {
             return TRUE;
         }
     }
     return FALSE;
 }
 /**
  * @return \Donquixote\HastyReflectionCommon\Reflection\FunctionLike\MethodReflectionInterface[]
  */
 function getOwnMethods()
 {
     return $this->ownBody->getOwnMethods();
 }