for (; javaClass != null; javaClass = javaClass.getSuperclass()) { Adapter a = (Adapter) ADAPTERS.get(javaClass);
for (Class c = javaClass; c != null; c = c.getSuperclass()) { Adapter a = (Adapter) ADAPTERS.get(c);
    public static final Adapter getAdapter(Class javaClass) {        for (; javaClass != null; javaClass = javaClass.getSuperclass()) {            Adapter a = (Adapter) ADAPTERS.get(javaClass);            if (a != null) { return a; }        }        throw new IllegalArgumentException("no adapter for: " + javaClass);    }