public final boolean equals(Object o) {
    if (this == o) return true;
    if (!(o instanceof ModuleType moduleType)) return false;

    return myId.equals(moduleType.myId);
  }
public final boolean equals(Object o)