// We even allow overriding existing interface implementations static A nuLike lookupDynamicInterface(Class intface, O o) { if (o cast DynamicObject) ret mapGet((Map) o.fieldValues, intface); if (isInstance(intrface, o)) ret (A) o; null; }