class OwnerThreadHolder {

    final Thread owner = Thread.currentThread();
    @StageRef
    VanillaChronicleHashHolder<?> hh;

    public void checkAccessingFromOwnerThread() {<FILL_FUNCTION_BODY>}
}

        if (owner != Thread.currentThread()) {
            throw new ConcurrentModificationException(hh.h().toIdentityString() +
                    ": Context shouldn't be accessed from multiple threads");
        }
    
<no_super_class>