title: Static method in a generic class?
body: <p>In Java, I'd like to have something as:</p>
  
  <pre><code>class Clazz&lt;T&gt; {
    static void doIt(T object) {
      // ...
    }
  }
  </code></pre>
  
  <p>But I get</p>
  
  <pre>Cannot make a static reference to the non-static type T</pre>
  
  <p>I don't understand generics beyond the basic uses and thus can't make much sense of that. It doesn't help that I wasn't able to find much info on the internet about the subject.</p>
  
  <p>Could someone clarify if such use is possible, by a similar manner? Also, why was my original attempt unsuccessful?</p>