Home
last modified time | relevance | path

Searched refs:doubleCheckReference (Results 1 – 1 of 1) sorted by relevance

/external/dagger2/javatests/dagger/internal/
DDoubleCheckTest.java123 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceWithoutCondition_throwsStackOverflow() local
125 Provider<Object> doubleCheck = DoubleCheck.provider(() -> doubleCheckReference.get().get()); in reentranceWithoutCondition_throwsStackOverflow()
126 doubleCheckReference.set(doubleCheck); in reentranceWithoutCondition_throwsStackOverflow()
134 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceReturningSameInstance() local
140 doubleCheckReference.get().get(); in reentranceReturningSameInstance()
144 doubleCheckReference.set(doubleCheck); in reentranceReturningSameInstance()
149 final AtomicReference<Provider<Object>> doubleCheckReference = in reentranceReturningDifferentInstances_throwsIllegalStateException() local
154 doubleCheckReference.get().get(); in reentranceReturningDifferentInstances_throwsIllegalStateException()
158 doubleCheckReference.set(doubleCheck); in reentranceReturningDifferentInstances_throwsIllegalStateException()