List<PyTargetExpression> () { List<PyTargetExpression> attributes = myFallbackInstanceAttributes; if (attributes != null) { return attributes; } Map<String, ScopeOwner> scopesToSkip = StreamEx.of(getInstanceAttributes()) .filter(e -> e.getName() != null) .mapToEntry(e -> e.getName(), e -> ScopeUtil.getScopeOwner(e)) .toMap(); attributes = collectInstanceAttributes(scopesToSkip); myFallbackInstanceAttributes = attributes; return attributes; }