• (->JavaReflector classloader)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/reflect/java.clj:166 top

(deftype JavaReflector [classloader]
  (do-reflect [_ typeref]
           (let [cls (Class/forName (typename typeref) false classloader)]
             {:bases (not-empty (set (map typesym (bases cls))))
              :flags (parse-flags (.getModifiers cls) :class)
              :members (set/union (declared-fields cls)
                                  (declared-methods cls)
                                  (declared-constructors cls))})))
Vars in clojure.reflect/->JavaReflector:
Used in 0 other vars

Comments top

No comments for ->JavaReflector. Log in to add a comment.