FindUsagesOptions (@Nullable DataContext dataContext) { PyFindUsagesOptions sharedOpts = PyFindUsagesOptions.getInstance(getProject()); return !isSearchForTextOccurrencesAvailable(getPsiElement(), false) ? (PyFindUsagesOptions)sharedOpts.clone() : sharedOpts; }