Files
Anna Kozlovaandintellij-monorepo-bot dfff1747ee [kotlin] move devkit kt part to fir test module
KTIJ-36178

GitOrigin-RevId: bd79b99c516106b65749df254539c4058b3f3055
2025-12-09 21:53:04 +00:00

17 lines
315 B
Kotlin

import com.intellij.util.concurrency.ThreadingAssertions
import com.intellij.util.concurrency.annotations.RequiresReadLock
object TopLevelAndExtension {
fun testMethod() {
topLevel()
extFun()
}
fun topLevel() {
ThreadingAssertions.assertReadAccess()
}
@RequiresReadLock
fun extFun() {}
}