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

Method tryFindMethod

src/jvm/clojure/lang/Reflector.java:73–80  ·  view source on GitHub ↗
(Class c, Method m)

Source from the content-addressed store, hash-verified

71}
72
73private static Method tryFindMethod(Class c, Method m) {
74 if(c == null) return null;
75 try {
76 return c.getMethod(m.getName(), m.getParameterTypes());
77 } catch(NoSuchMethodException e) {
78 return null;
79 }
80}
81
82private static Method toAccessibleSuperMethod(Method m, Object target) {
83 Method selected = m;

Callers 1

Calls 2

getNameMethod · 0.65
getMethodMethod · 0.45

Tested by

no test coverage detected