sbool hasStaticMethodNamed(Class c, S method) { if (c == null) false; var methods = getMethodCache(c).cache.get(method); if (methods != null) for (m : methods) if (isStaticMethod(m)) true; false; }