@@ -114,22 +114,22 @@ public annotation class Serializer(
114114 * ```
115115 */
116116@Target(AnnotationTarget .PROPERTY , AnnotationTarget .CLASS )
117- @Retention(AnnotationRetention .BINARY )
117+ // @Retention(AnnotationRetention.RUNTIME) still runtime, but KT-41082
118118public annotation class SerialName (val value : String )
119119
120120/* *
121121 * Indicates that property must be present during deserialization process, despite having a default value.
122122 */
123123@Target(AnnotationTarget .PROPERTY )
124- @Retention(AnnotationRetention .BINARY )
124+ // @Retention(AnnotationRetention.RUNTIME) still runtime, but KT-41082
125125public annotation class Required
126126
127127/* *
128128 * Marks this property invisible for the whole serialization process, including [serial descriptors][SerialDescriptor].
129129 * Transient properties should have default values.
130130 */
131131@Target(AnnotationTarget .PROPERTY )
132- @Retention(AnnotationRetention .BINARY )
132+ // @Retention(AnnotationRetention.RUNTIME) still runtime, but KT-41082
133133public annotation class Transient
134134
135135/* *
@@ -167,6 +167,7 @@ public annotation class ContextualSerialization(vararg val forClasses: KClass<*>
167167 * @see UseContextualSerialization
168168 */
169169@Target(AnnotationTarget .PROPERTY , AnnotationTarget .TYPE )
170+ @Retention(AnnotationRetention .BINARY )
170171public annotation class Contextual
171172
172173/* *
@@ -176,6 +177,7 @@ public annotation class Contextual
176177 * @see ContextSerializer
177178 */
178179@Target(AnnotationTarget .FILE )
180+ @Retention(AnnotationRetention .BINARY )
179181public annotation class UseContextualSerialization (vararg val forClasses : KClass <* >)
180182
181183/* *
0 commit comments