code: private static Object initializeEmbedded(EmbeddedMetadata embeddedMetadata, Object target) {
      try {
        ConstructorMetadata constructorMetadata = embeddedMetadata.getConstructorMetadata();
        Object embeddedObject = null;
        if (constructorMetadata.isClassicConstructionStrategy()) {
          embeddedObject = embeddedMetadata.getReadMethod().invoke(target);
        }
        if (embeddedObject == null) {
          embeddedObject = constructorMetadata.getConstructorMethodHandle().invoke();
        }
        return embeddedObject;
      } catch (Throwable t) {
        throw new EntityManagerException(t);
      }
    }
docs: Initializes the Embedded object represented by the given metadata.
  
  @param embeddedMetadata
  the metadata of the embedded field
  @param target
  the object in which the embedded field is declared/accessible from
  @return the initialized object
  @throws EntityManagerException
  if any error occurs during initialization of the embedded object