Generate correct names for companion @JvmStatic accessors in annotation class
#KT-31389 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// JVM_TARGET: 1.8
|
||||
// WITH_RUNTIME
|
||||
|
||||
annotation class Annotation {
|
||||
companion object {
|
||||
@JvmStatic val TEST_FIELD = "OK"
|
||||
|
||||
var TEST_FIELD2 = ""
|
||||
@JvmStatic get
|
||||
@JvmStatic set
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
@kotlin.Metadata
|
||||
public final class Annotation$Companion {
|
||||
// source: 'kt31389.kt'
|
||||
synthetic final static field $$INSTANCE: Annotation$Companion
|
||||
private static @org.jetbrains.annotations.NotNull field TEST_FIELD2: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field TEST_FIELD: java.lang.String
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
public synthetic deprecated static @kotlin.jvm.JvmStatic method getTEST_FIELD$annotations(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getTEST_FIELD(): java.lang.String
|
||||
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method getTEST_FIELD2(): java.lang.String
|
||||
public final @kotlin.jvm.JvmStatic method setTEST_FIELD2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final inner class Annotation$Companion
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Annotation {
|
||||
// source: 'kt31389.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: Annotation$Companion
|
||||
static method <clinit>(): void
|
||||
public static method getTEST_FIELD(): java.lang.String
|
||||
public static @kotlin.jvm.JvmStatic method getTEST_FIELD2(): java.lang.String
|
||||
public static @kotlin.jvm.JvmStatic method setTEST_FIELD2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final inner class Annotation$Companion
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
@kotlin.Metadata
|
||||
public final class Annotation$Companion {
|
||||
// source: 'kt31389.kt'
|
||||
synthetic final static field $$INSTANCE: Annotation$Companion
|
||||
private static @org.jetbrains.annotations.NotNull field TEST_FIELD2: java.lang.String
|
||||
private final static @org.jetbrains.annotations.NotNull field TEST_FIELD: java.lang.String
|
||||
static method <clinit>(): void
|
||||
private method <init>(): void
|
||||
public synthetic deprecated static @kotlin.jvm.JvmStatic method getTEST_FIELD$annotations(): void
|
||||
public final @org.jetbrains.annotations.NotNull method getTEST_FIELD(): java.lang.String
|
||||
public final @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method getTEST_FIELD2(): java.lang.String
|
||||
public final @kotlin.jvm.JvmStatic method setTEST_FIELD2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final inner class Annotation$Companion
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention
|
||||
@kotlin.Metadata
|
||||
public annotation class Annotation {
|
||||
// source: 'kt31389.kt'
|
||||
public final static @org.jetbrains.annotations.NotNull field Companion: Annotation$Companion
|
||||
static method <clinit>(): void
|
||||
public static @org.jetbrains.annotations.NotNull method getTEST_FIELD(): java.lang.String
|
||||
public static @kotlin.jvm.JvmStatic @org.jetbrains.annotations.NotNull method getTEST_FIELD2(): java.lang.String
|
||||
public static @kotlin.jvm.JvmStatic method setTEST_FIELD2(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public final inner class Annotation$Companion
|
||||
}
|
||||
Reference in New Issue
Block a user