Query<PsiFunctionalExpression> (@NotNull PsiClass aClass, @NotNull SearchScope scope) { SearchParameters parameters = ReadAction.compute(() -> new SearchParameters(aClass, scope)); return INSTANCE.createUniqueResultsQuery(parameters, element -> ReadAction.compute(()->SmartPointerManager.getInstance(parameters.myProject).createSmartPsiElementPointer(element))); }