public function hasReturnTypes() {
    $doc_comment = $this->getDocComment();
    if (!$doc_comment) {
      return FALSE;
    }
    $return_tag = $doc_comment->getReturn();
    if (!$return_tag) {
      return FALSE;
    }
    $types = $return_tag->getTypes();
    return !empty($types);
  }