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

Method isAssignable

java/tests/src/main/java/tests/BaseTest.java:864–867  ·  view source on GitHub ↗
(Class<?> paramType, Class<?> argType)

Source from the content-addressed store, hash-verified

862 }
863
864 private static boolean isAssignable(Class<?> paramType, Class<?> argType) {
865 if (paramType.isPrimitive()) paramType = boxPrimitive(paramType);
866 return paramType.isAssignableFrom(argType);
867 }
868
869 private static Class<?> boxPrimitive(Class<?> c) {
870 if (c == boolean.class) return Boolean.class;

Callers 1

findCompatibleInMethod · 0.95

Calls 1

boxPrimitiveMethod · 0.95

Tested by

no test coverage detected