Query<PsiFunctionalExpression> (@NotNull PsiMethod psiMethod, @NotNull SearchScope scope) { return ReadAction.compute(() -> { if (psiMethod.hasModifierProperty(PsiModifier.ABSTRACT)) { PsiClass containingClass = psiMethod.getContainingClass(); if (containingClass != null) { return INSTANCE.createUniqueResultsQuery(new SearchParameters(containingClass, psiMethod, scope)); } } return EmptyQuery.getEmptyQuery(); }); }