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

Method createInstance

java/tests/src/main/java/tests/BaseTest.java:829–833  ·  view source on GitHub ↗
(Class<?> testClass)

Source from the content-addressed store, hash-verified

827 }
828
829 private static Object createInstance(Class<?> testClass) throws Exception {
830 Constructor<?> ctor = testClass.getDeclaredConstructor();
831 ctor.setAccessible(true);
832 return ctor.newInstance();
833 }
834
835 private static Method findCompatibleMethod(Class<?> cls, String name, List<Object> args) {
836 // prefer public methods first

Callers 1

callMethodMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected