boolean (Object o) { if (this == o) return true; if (!(o instanceof DiffHyperlink hyperlink)) return false; if (!myActual.equals(hyperlink.myActual)) return false; if (!myExpected.equals(hyperlink.myExpected)) return false; if (!Objects.equals(myFilePath, hyperlink.myFilePath)) return false; if (!Objects.equals(myActualFilePath, hyperlink.myActualFilePath)) return false; return true; }