boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final ThreeNegationsPerMethod threeNegationsPerMethod = (ThreeNegationsPerMethod) o; if (bar != threeNegationsPerMethod.bar) return false; if (baz != threeNegationsPerMethod.baz) return false; if (foo != threeNegationsPerMethod.foo) return false; return true; }