title: Eclipse auto completion with generic classes and static methods
body: <p>For generic classes, I usually prefer static methods instead of constructors to avoid tedious redundant type parameters (example given below for clarification).</p>
  
  <p>But when using auto completion, Eclipse always suggests the type parameter, like:</p>
  
  <p><code>example</code> (ctrl+space) <code>Example&lt;T&gt;</code></p>
  
  <p>I then have to remove the <code>&lt;T&gt;</code> manually and instead add my static method, like <code>Example.new()</code>. Is there a possiblity to change this behaviour or a completely different convenient shortcut for a better workflow? (I am still working with Eclipse 3, has this been changed in 4?)</p>
  
  <pre><code>static final class Example&lt;T&gt; {
  
      /** Private, use factory method instead. */
      private Example() {
      }
  
      public static &lt;T&gt; Example&lt;T&gt; create() {
          return new Example&lt;T&gt;();
      }
  }
  
  public static void main(String[] args) {
      Example&lt;Integer&gt; example = Example.create();
  }
  </code></pre>