not sure it’s great but here’s what i end up with ...
# announcements
d
not sure it’s great but here’s what i end up with
Copy code
class EmailBuilder {

    val recipients: MutableList<String> = mutableListOf()

    @set:JvmName("to")
    var to: String
        @JvmSynthetic
        @Deprecated(message = "unused getter", level = DeprecationLevel.HIDDEN)
        get() = throw RuntimeException()
        set(value) {
            recipients.clear();
            recipients.addAll(value.split(";"))
        }
}