Liking cljdoc? Tell your friends :D

hara.object.element.impl.type


+override+clj


add-annotationsclj

(add-annotations seed obj)

adds additional annotations to the class

(common/add-annotations {} String) => {}

adds additional annotations to the class

(common/add-annotations {} String)
=> {}
raw docstring

IElementcljprotocol

get-declaring-classclj

(get-declaring-class obj)

get-modifiersclj

(get-modifiers obj)

seedclj

(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})
raw docstring

set-accessibleclj

(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)
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close