{
            EClass eClass = value.eClass();
            EClass expectedType = (EClass)f.getEType();
            if (saveTypeInfo ? xmlTypeInfo.shouldSaveType(eClass, expectedType, f) : eClass != expectedType && (expectedType.isAbstract() || f.getEGenericType().getETypeParameter() != null))
            {
              buffer.append(helper.getQName(eClass));
              buffer.append(' ');
            }
          }