staticFieldSnapshotOwner property

InterpretedClass? staticFieldSnapshotOwner
getter/setter pair

OPEN B.9 — when this environment is the top execution scope of a static member, it holds snapshots of the owner class's static fields so that bare-identifier reads resolve without a class prefix. This marker records the owning class so that a bare-identifier write to one of those snapshotted fields can be propagated back to the class's authoritative static slot (InterpretedClass.setStaticField). Without it, the write would only mutate the discarded local snapshot and never survive the call.

Only set on the static-member execution environment itself. That environment also receives the member's parameters and top-level locals, so the marker alone does not make a name a snapshot binding: holdsStaticFieldSnapshot says which names still are.

Implementation

InterpretedClass? staticFieldSnapshotOwner;