private void showDialogAndFindUsages(@NotNull FindUsagesHandler handler,
@NotNull RelativePoint popupPosition, Editor editor, int maxUsages) {
AbstractFindUsagesDialog dialog = handler.getFindUsagesDialog(false, false, false);
dialog.show();
if (dialog.isOK()) {
dialog.calcFindUsagesOptions();
showElementUsages(handler, editor, popupPosition, maxUsages, getDefaultOptions(handler));
}
}
private static String searchScopePresentableName(@NotNull FindUsagesOptions options,