54 lines
842 B
Kotlin
Vendored
54 lines
842 B
Kotlin
Vendored
// !LANGUAGE: -JvmStaticInInterface
|
|
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
interface B {
|
|
companion object {
|
|
@JvmStatic fun a1() {
|
|
|
|
}
|
|
|
|
@JvmStatic private fun a2() {
|
|
|
|
}
|
|
|
|
@JvmStatic protected fun a3() {
|
|
|
|
}
|
|
|
|
@JvmStatic internal fun a4() {
|
|
|
|
}
|
|
|
|
@JvmStatic
|
|
var foo = 1
|
|
|
|
@JvmStatic
|
|
var foo1 = 1
|
|
protected set
|
|
|
|
@JvmStatic
|
|
var foo2 = 1
|
|
private set
|
|
|
|
@JvmStatic
|
|
private var foo3 = 1
|
|
|
|
@JvmStatic
|
|
protected var foo4 = 1
|
|
|
|
@JvmStatic
|
|
protected var foo5 = 1
|
|
|
|
@JvmStatic
|
|
val foo6 = 1
|
|
|
|
val foo7 = 1
|
|
@JvmStatic get
|
|
|
|
private var foo8 = 1
|
|
@JvmStatic public set
|
|
|
|
public var foo9 = 1
|
|
@JvmStatic private set
|
|
}
|
|
|
|
} |