void startFindUsages(
     @NotNull PsiElement element,
     @NotNull RelativePoint popupPosition,
     Editor editor,
     int maxUsages) {
   Project project = element.getProject();
   FindUsagesManager findUsagesManager =
       ((FindManagerImpl) FindManager.getInstance(project)).getFindUsagesManager();
   FindUsagesHandler handler = findUsagesManager.getNewFindUsagesHandler(element, false);
   if (handler == null) return;
   showElementUsages(handler, editor, popupPosition, maxUsages, getDefaultOptions(handler));
 }