jameswald
12/18/2019, 3:28 AM@file:JvmName("...") as @Deprecated?jameswald
12/18/2019, 3:31 AM@file:JvmName("Foo")
@Deprecated("Foo")
object Foo
but this doesn’t work seamlessly with other top-level elements in the filespand
12/18/2019, 9:00 AM@file:Deprecated()
package org.footseisel
12/18/2019, 10:54 AMDeprecated annotation cannot target a file.
To me, it makes more sense to deprecate individual declarations from that file rather than the whole utility class visible from Java, as deprecations will not be visible from Kotlin.spand
12/18/2019, 11:40 AMjameswald
12/18/2019, 6:07 PM@JvmName has AnnotationTarget.FILE but @Deprecated doesn’tjameswald
12/18/2019, 6:08 PMjameswald
12/18/2019, 6:13 PM