List<PsiElement> (@NotNull PsiElement context, @NotNull Document document, int offset) { return new ArrayList<>(CommonJavaRefactoringUtil.collectExpressions(context.getContainingFile(), document, Math.max(offset - 1, 0), false)); }