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 )
have you looked at clojure.reflect?
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.*
then no, I'm not aware of anything else :)
thanks anyway 🙂