title: Why do hashCode & equal need non-static fields to be generated?
body: <p>I am curious about this Error I get while testing out Eclipses' functionality:</p>
  
  <p><img src="https://i.stack.imgur.com/WHsQN.png" alt="enter image description here"></p>
  
  <p>I tried to use the command "generate hashCode &amp; Equals", but because the class only has <code>static</code> methods it rejected it. How does this work(i.e. <code>hashCode()</code>/<code>equals()</code> needing non-static methods ? )?</p>
  
  <p>thank you</p>