void () { if (!disableAssertions && IndexDebugProperties.DEBUG) { if (lock.writeLock().isHeldByCurrentThread()) return; throw new IllegalStateException("Must hold StorageLock write lock to access PagedFileStorage"); } }