MCPcopy Index your code
hub / github.com/ccxt/ccxt / findCompatibleMethod

Method findCompatibleMethod

java/tests/src/main/java/tests/BaseTest.java:835–841  ·  view source on GitHub ↗
(Class<?> cls, String name, List<Object> args)

Source from the content-addressed store, hash-verified

833 }
834
835 private static Method findCompatibleMethod(Class<?> cls, String name, List<Object> args) {
836 // prefer public methods first
837 Method m = findCompatibleIn(cls.getMethods(), name, args);
838 if (m != null) return m;
839 // then declared (non-public)
840 return findCompatibleIn(cls.getDeclaredMethods(), name, args);
841 }
842
843 private static Method findCompatibleIn(Method[] methods, String name, List<Object> args) {
844 for (Method m : methods) {

Callers 1

callMethodMethod · 0.95

Calls 1

findCompatibleInMethod · 0.95

Tested by

no test coverage detected