class DisplayData implements Serializable {

  public static DisplayData from(HasDisplayData component) {
    checkNotNull(component, "component argument cannot be null");

    InternalBuilder builder = new InternalBuilder();
    builder.include(Path.root(), component);

    return builder.build();
  }

  private  DisplayData(Map<Identifier, Item> entries);

}