PsiExpression[] (ExpressionOccurrenceManager manager) { return StreamEx.of(manager.getOccurrences()) .filter(expr -> PsiTreeUtil.isAncestor(parent, getPhysicalElement(expr), true)) .toArray(PsiExpression.EMPTY_ARRAY); }