addTag

fun <T : U, U : Taggable<U>, X : Any> T.addTag(name: String, value: X): T

Returns a new instance, otherwise equivalent to this one, with an additional tag named name holding value merged into its existing Taggable.tags (overwriting any existing tag with the same name).