protected function getAnnotationClassForAction($requestAction)
    {
        /** @var array $actions */
        $actions = $this->getActions();

        /** @var ClassInterface $action */
        foreach ($actions as $action) {
            if ($action->getAnnotatedName() === $requestAction) {
                return $action;
            }
        }

        throw new ExtDirectException("extjs direct name '{$requestAction}' does not exist'");
    }