boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Item item = (Item)o; if (mappingKind != item.mappingKind) return false; return Objects.equals(path, item.path); }