/guava/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
lockStateChanged( readWriteLock) ;super( readWriteLock) ;
super ( readWriteLock ) ;
return isWriteLockedByCurrentThread() || getReadHoldCount() > 0; } } private class CycleDetectingReentrantReadLock extends ReentrantReadWriteLock.ReadLock { @Weak final CycleDetectingReentrantReadWriteLock readWriteLock; CycleDetectingReentrantReadLock(CycleDetectingReentrantReadWriteLock readWriteLock) { <extra_id_0> this.readWriteLock = readWriteLock; } @Override public void lock() { aboutToAcquire(readWriteLock); try {