public @NotNull FindUsagesOptions getFindUsagesOptions(final @Nullable DataContext dataContext) {
    FindUsagesOptions options = createFindUsagesOptions(getProject(), dataContext);
    options.isSearchForTextOccurrences &= isSearchForTextOccurrencesAvailable(getPsiElement(), false);
    return options;
  }
public @NotNull FindUsagesOptions getFindUsagesOptions(final @Nullable DataContext dataContext)