boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final MagicNumber magicNumber = (MagicNumber) o; if (m_foo != magicNumber.m_foo) return false; if (m_foo2 != magicNumber.m_foo2) return false; return true; }