java

nick 2020-09-03T18:44:41.004300Z

First time not very trivial Clojure-java interop Would it be easier to just use some modern IDE for Java just for navigating the Java dependencies? Currently I'm using this as a workaround, not sure if there is a better/simpler solution. Getting to those nested calls is a bit tricky

(map (comp keyword :name) (:members (clojure.reflect/reflect my-interop-java-obj)))
(:getEndpoint
 :com.twilio.type.PhoneNumber
 :equals
 :rawNumber
 :hashCode
 :toString
 :encode)

alexmiller 2020-09-03T18:53:52.004800Z

I use Cursive, which has great Java interop and find it essential when using complicated Java apis

nick 2020-09-03T19:32:35.006600Z

Thank you Alex! That's good to know Unfortunately I use emacs & cider, jump-from-clj-to-java-source doesn't seem to be working here. I'll ask in the #cider channel later, just to make sure