mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
17 lines
399 B
Plaintext
17 lines
399 B
Plaintext
// "Add '@JvmStatic' annotation to 'foo'" "true"
|
|
// WITH_STDLIB
|
|
open class A {
|
|
companion object {
|
|
@JvmStatic
|
|
protected fun foo() = 2
|
|
}
|
|
}
|
|
|
|
class B : A() {
|
|
fun bar() {
|
|
print(<caret>foo())
|
|
}
|
|
}
|
|
|
|
// FUS_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix
|
|
// FUS_K2_QUICKFIX_NAME: org.jetbrains.kotlin.idea.quickfix.AddJvmStaticAnnotationFix |