title: Make eclipse remove unused imports but keep unresolved
body: <p><strong>Is there a way to make Eclipse keep used but unresolved imports?</strong></p>
  
  <p>I'm using Eclipse's save actions to remove unused imports. Unfortunately it also removes imports that are used, but not unresolved.</p>
  
  <p>In the example below, eclipse will remove <code>GeneratedClass</code>, if I save <code>MyClass</code> before generating the <code>GeneratedClass</code>. When I late generate the code, <code>MyClass</code> will be missing the import.</p>
  
  <pre><code>import a.b.GeneratedClass;
  public class MyClass extend GeneratedClass {}
  </code></pre>