Adapter a = (Adapter) m_adapters.get(null); if (a != null) { return a; }  throw new IllegalArgumentException("no adapter for: " + type);
throw new IllegalArgumentException("no adapter for: " + javaClass);
    public Adapter getAdapter(ObjectType type) {        for (ObjectType ot = type; ot != null; ot = ot.getSupertype()) {	    Class klass = ot.getJavaClass();	    if (klass != null) {		Adapter a = getAdapter(klass);		if (a != null) { return a; }	    }        }        Adapter a = (Adapter) m_adapters.get(null);        if (a != null) { return a; }        throw new IllegalArgumentException("no adapter for: " + type);    }