def dispatch infer(Entity e, IAcceptor<JvmDeclaredType> acceptor, boolean isPrelinkingPhase) { if(e.fullyQualifiedName==null) return val iface = e.toInterface(e.fullyQualifiedName.toString)[ ] val impl = e.toClass(e.implFullyQualifiedName.toString)[ superTypes += iface.createTypeRef() createDefaultConstructor(e) ] acceptor.accept(iface) acceptor.accept(impl) }