java

2019-11-06T14:59:37.004300Z

Anyone aware of a way where I can get a clojure data structure representing a full graph from java reflection data? I need more info than clojure.reflect provides (ie all available data). I basically want to call clojure.java.data on a java.lang.reflect.Method and get all it's fields in a map, and recur on all those values. But there are cycles in this data which clojure.java.data doesn't detect. (I'm working on building some cycle detection into it just wondering if something out there like this exists already )

alexmiller 2019-11-06T15:34:33.004600Z

have you looked at clojure.reflect?

alexmiller 2019-11-06T15:35:04.005100Z

http://clojure.github.io/clojure/#clojure.reflect

2019-11-06T15:36:54.006600Z

Yes, unfortunately I need more info than it provides out of the box (such as param names, info about the parts of a parameterized type, etc). Ideally i'd just be able to just get one huge nested data structure of all info in java.lang.reflect.*

alexmiller 2019-11-06T15:39:57.007600Z

then no, I'm not aware of anything else :)

2019-11-06T15:40:45.007800Z

thanks anyway 🙂