boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; BuildTargetState state = (BuildTargetState)o; if (!Objects.equals(hash, state.hash)) return false; if (!Objects.equals(relativePath, state.relativePath)) return false; return true; }