1 /* 2 * Copyright 2017-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. 3 */ 4 5 package kotlinx.serialization.internal 6 7 import kotlinx.serialization.* 8 9 /** 10 * An annotation added by the compiler to the companion object of [Serializable] class, if it has a non-default name. 11 */ 12 @InternalSerializationApi 13 @Target(AnnotationTarget.CLASS) 14 @Retention(AnnotationRetention.RUNTIME) 15 public annotation class NamedCompanion 16