boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; DocumentationElement element = (DocumentationElement)o; return Objects.equals(myProject, element.myProject) && Objects.equals(myType, element.myType) && Objects.equals(myField, element.myField); }