code: protected function getIndexer(\TYPO3\CMS\Core\Resource\ResourceStorage $storage)
      {
          return GeneralUtility::makeInstance(Indexer::class, $storage);
      }
docs: Gets the indexer
  
  @param ResourceStorage $storage
  @return Indexer