JVM_IR KT-43524 static wrappers for deprecated accessors are deprecated
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
// WITH_RUNTIME
|
||||
// JVM_TARGET: 1.8
|
||||
|
||||
class TestClass {
|
||||
companion object {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
}
|
||||
|
||||
object TestObject {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
|
||||
interface TestInterface {
|
||||
companion object {
|
||||
@Deprecated("")
|
||||
@JvmStatic
|
||||
val a: Int = 1
|
||||
}
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
@kotlin.Metadata
|
||||
public final class TestClass$Companion {
|
||||
// source: 'jvmStaticDeprecatedProperty.kt'
|
||||
private method <init>(): void
|
||||
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
|
||||
public synthetic deprecated static @kotlin.Deprecated @kotlin.jvm.JvmStatic method getA$annotations(): void
|
||||
public deprecated final method getA(): int
|
||||
public final inner class TestClass$Companion
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestClass {
|
||||
// source: 'jvmStaticDeprecatedProperty.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: TestClass$Companion
|
||||
private deprecated final static field a: int
|
||||
static method <clinit>(): void
|
||||
public method <init>(): void
|
||||
public synthetic final static method access$getA$cp(): int
|
||||
public deprecated final static method getA(): int
|
||||
public final inner class TestClass$Companion
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestInterface$Companion {
|
||||
// source: 'jvmStaticDeprecatedProperty.kt'
|
||||
synthetic final static field $$INSTANCE: TestInterface$Companion
|
||||
private deprecated final static field a: int
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
public synthetic deprecated static @kotlin.Deprecated @kotlin.jvm.JvmStatic method getA$annotations(): void
|
||||
public deprecated final method getA(): int
|
||||
public final inner class TestInterface$Companion
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public interface TestInterface {
|
||||
// source: 'jvmStaticDeprecatedProperty.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: TestInterface$Companion
|
||||
static method <clinit>(): void
|
||||
public deprecated static method getA(): int
|
||||
public final inner class TestInterface$Companion
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class TestObject {
|
||||
// source: 'jvmStaticDeprecatedProperty.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field INSTANCE: TestObject
|
||||
private deprecated final static field a: int
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
public synthetic deprecated static @kotlin.Deprecated @kotlin.jvm.JvmStatic method getA$annotations(): void
|
||||
public deprecated final static method getA(): int
|
||||
}
|
||||
Reference in New Issue
Block a user