static Map scoredMethods_withPrimitiveWidening_onTypes(O o, S method, Class... argTypes) ctex { if (o cast Class) { _MethodCache cache = callOpt_getCache(o); L methods = cache.cache.get(method); new Map scores; if (methods != null) for (Method m : methods) { continue unless isStaticMethod(m); int score = methodApplicabilityScore_withPrimitiveWidening_onTypes(m, argTypes); if (score < Int.MAX_VALUE) scores.put(m, score); } ret scores; } else { if (o == null) null; _MethodCache cache = callOpt_getCache(o.getClass()); L methods = cache.cache.get(method); new Map scores; if (methods != null) for (Method m : methods) { int score = methodApplicabilityScore_withPrimitiveWidening_onTypes(m, argTypes); if (score < Int.MAX_VALUE) scores.put(m, score); } ret scores; } }