code: public function methodRelatedIssuesBySeverityAndClass(
          Issue\IssueSeverity $severity,
          ClassName $className
      ) {
          $this->typeCheck->methodRelatedIssuesBySeverityAndClass(func_get_args());
  
          $issues = array();
          foreach ($this->issuesBySeverity($severity) as $issue) {
              if (
                  $issue instanceof Issue\MethodRelatedIssueInterface &&
                  $issue->classDefinition()->className()->isEqualTo($className)
              ) {
                  $issues[$issue->methodDefinition()->name()][] = $issue;
              }
          }
  
          return $issues;
      }
docs: @param Issue\IssueSeverity $severity
  @param ClassName           $className
  
  @return array<Issue\IssueInterface>