Is there a built in way in clojure.reflect
to get a type string that looks like "L[my.Type"
instead of "my.Type[]"
(or <>
)
to get one suitable for use in :tag
metadata
Alternatively, would the obvious string manipulation be all that's needed to handled all cases of []
there?
@jjttjj If you do (.getName (class some-array))
you will get the format you want, i.e., not using clojure.reflect
.
Thanks that works