void (final ScopeOwner owner) { if (owner.getContainingFile() instanceof PyExpressionCodeFragment) { return; } if (!(owner instanceof PyClass) && !callsLocals(owner)) { collectAllWrites(owner); } collectUsedReads(owner); }