MCPcopy Index your code
hub / github.com/clojure/clojure / considerMethod

Method considerMethod

src/jvm/clojure/lang/Compiler.java:8922–8933  ·  view source on GitHub ↗
(java.lang.reflect.Method m, Map mm)

Source from the content-addressed store, hash-verified

8920 }
8921
8922 static void considerMethod(java.lang.reflect.Method m, Map mm){
8923 IPersistentVector mk = msig(m);
8924 int mods = m.getModifiers();
8925
8926 if(!(mm.containsKey(mk)
8927 || !(Modifier.isPublic(mods) || Modifier.isProtected(mods))
8928 || Modifier.isStatic(mods)
8929 || Modifier.isFinal(mods)))
8930 {
8931 mm.put(mk, m);
8932 }
8933 }
8934
8935 static void gatherMethods(Class c, Map mm){
8936 for(; c != null; c = c.getSuperclass())

Callers 1

gatherMethodsMethod · 0.95

Calls 4

msigMethod · 0.95
isPublicMethod · 0.80
containsKeyMethod · 0.65
putMethod · 0.45

Tested by

no test coverage detected