Collection<PyTargetExpression> (@NotNull Property property) { if (!property.getSetter().isDefined() || property.getSetter().value() == null) { return null; } final PyFunction setter = property.getSetter().value().asMethod(); if (setter == null) { return null; } return StreamEx.of(ControlFlowCache.getScope(setter).getTargetExpressions()) .filter(PyUtil::isInstanceAttribute) .toList(); }