mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 09:45:12 +07:00
KTIJ-36178 GitOrigin-RevId: bd79b99c516106b65749df254539c4058b3f3055
15 lines
244 B
Kotlin
15 lines
244 B
Kotlin
import com.intellij.util.concurrency.annotations.RequiresReadLock
|
|
|
|
object AnnotationInChain {
|
|
fun testMethod() {
|
|
intermediateMethod()
|
|
}
|
|
|
|
fun intermediateMethod() {
|
|
targetMethod()
|
|
}
|
|
|
|
@RequiresReadLock
|
|
fun targetMethod() {}
|
|
}
|