Attach shadow to host. Computes the inferred surface from the
shadow's class composition (every method on every layer marked
with _mixinName) plus any @Shadowing-decorated methods. Runs
@Unshadowable and @ShadowSecurity({ attach }) validation.
Atomic: nothing mutates if any check fails.
Detach shadow from its current host. No-op if unattached.
Runs @ShadowSecurity({ detach }) for each intercepted method
before any mutation. Atomic: a deny on any method aborts the
whole detach.
Attach
shadowtohost. Computes the inferred surface from the shadow's class composition (every method on every layer marked with_mixinName) plus any@Shadowing-decorated methods. Runs@Unshadowableand@ShadowSecurity({ attach })validation. Atomic: nothing mutates if any check fails.