List<PsiElement> (@NotNull PsiElement context, @NotNull Document document, int offset) { if (DumbService.getInstance(context.getProject()).isDumb()) return Collections.emptyList(); List<PsiElement> expressions = super.getExpressions(context, document, offset); if (!expressions.isEmpty()) return expressions; return ContainerUtil.filter(ContainerUtil.<PsiElement>createMaybeSingletonList(getTopmostExpression(context)), getFilters(offset)); }