code: public static Label createCreatedByLabel(final VaadinMessageSource i18n, final BaseEntity baseEntity) {
          return createUsernameLabel(i18n.getMessage("label.created.by"),
                  baseEntity == null ? "" : baseEntity.getCreatedBy());
      }
docs: Create label which represents the {@link BaseEntity#getCreatedBy()} by
  user name
  
  @param i18n
  the i18n
  @param baseEntity
  the entity
  @return the label