JpaEntity entity = entityMap.entityForClass(key);
if (entity != null) {
// create enhancer chain
PojoVisitor e1 = new JpaPojoVisitor(out, entity);
JpaAccessorVisitor e2 = new JpaAccessorVisitor(e1, entity);
// this ensures that both enhanced and original classes have compatible
// serialized format even if no serialVersionUID is defined by the user
SerialVersionUIDAdder e3 = new SerialVersionUIDAdder(e2);