public boolean areEqual(InspectionTreeNode o1, InspectionTreeNode o2) {
    return o1.getClass().equals(o2.getClass()) && compare(o1, o2) == 0;
  }
public boolean areEqual(InspectionTreeNode o1, InspectionTreeNode o2)