boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; MyModuleIdentifier that = (MyModuleIdentifier)o; if (!Objects.equals(name, that.name)) return false; if (!Objects.equals(group, that.group)) return false; return true; }