List<PsiPatternVariable> (@NotNull PsiExpression expression) { List<PatternVariableWrapper> list = new ArrayList<>(); collectPatternVariableCandidates(expression, expression, list, true); return StreamEx.of(list).filter(base -> !base.isFake()).map(PatternVariableWrapper::getVariable).toList(); }