boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; EventWithType type = (EventWithType)o; if (myType != type.myType) return false; if (!myFile.equals(type.myFile)) return false; if (!Objects.equals(myPropertyName, type.myPropertyName)) return false; if (!Objects.equals(myPropertyNewValue, type.myPropertyNewValue)) return false; return true; }