(add-annotations seed obj)
adds additional annotations to the class
(common/add-annotations {} String) => {}
adds additional annotations to the class (common/add-annotations {} String) => {}
(get-declaring-class obj)
(get-modifiers obj)
(seed tag obj)
returns the preliminary attributes for creating an element
(common/seed :class String) => (contains {:name "java.lang.String", :tag :class, :modifiers #{:instance :public :final :class}, :static false, :delegate java.lang.String})
(common/seed :method (.getDeclaredMethod String "charAt" (doto (make-array Class 1) (aset 0 Integer/TYPE)))) => (contains {:name "charAt", :tag :method, :container java.lang.String, :modifiers #{:instance :method :public} :static false, :delegate java.lang.reflect.Method})
returns the preliminary attributes for creating an element (common/seed :class String) => (contains {:name "java.lang.String", :tag :class, :modifiers #{:instance :public :final :class}, :static false, :delegate java.lang.String}) (common/seed :method (.getDeclaredMethod String "charAt" (doto (make-array Class 1) (aset 0 Integer/TYPE)))) => (contains {:name "charAt", :tag :method, :container java.lang.String, :modifiers #{:instance :method :public} :static false, :delegate java.lang.reflect.Method})
(set-accessible obj flag)
sets the accessible flag in the class to be true
(common/set-accessible (.getDeclaredMethod String "charAt" (doto (make-array Class 1) (aset 0 Integer/TYPE))) true)
sets the accessible flag in the class to be true (common/set-accessible (.getDeclaredMethod String "charAt" (doto (make-array Class 1) (aset 0 Integer/TYPE))) true)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close