class EnumInfo implements DataSerializableFixedID {

  @Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((clazz == null) ? 0 : clazz.hashCode());
    result = prime * result + ((name == null) ? 0 : name.hashCode());
    return result;
  }

  public  EnumInfo(Enum<?> e);
  public  EnumInfo(String clazz, String name, int enumOrdinal);
  public  EnumInfo();

}