code: private void initEntityMetadata(ProjectedEntity projectedEntity) {
      String kind = projectedEntity.kind();
      if (kind.trim().length() == 0) {
        String message = String.format("Class %s requires a non-blank Kind", entityClass.getName());
        throw new EntityManagerException(message);
      }
      entityMetadata = new EntityMetadata(entityClass, kind, true);
    }
docs: Initializes the metadata using the given {@link ProjectedEntity} annotation.
  
  @param projectedEntity
  the {@link ProjectedEntity} annotation.