mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
KTIJ-36178 GitOrigin-RevId: bd79b99c516106b65749df254539c4058b3f3055
17 lines
231 B
Kotlin
17 lines
231 B
Kotlin
import com.intellij.util.concurrency.annotations.RequiresReadLock
|
|
|
|
class CyclicRecursiveCalls {
|
|
fun testMethod() {
|
|
methodA()
|
|
}
|
|
|
|
fun methodA() {
|
|
methodB()
|
|
}
|
|
|
|
@RequiresReadLock
|
|
fun methodB() {
|
|
methodA()
|
|
}
|
|
}
|