title: Cases where the imports in Java aren't needed (unusual qualification) [Question Edited]
body: <p>I've noticed there are some special ways to qualify an entity in Java:</p>
  
  <pre><code>Object o = new Outer().new Inner();
  </code></pre>
  
  <p>In this case, we are qualifying the Inner class with the Outer class, so we only need to import the Outer class:</p>
  
  <pre><code>import mypackage.Outer;
  </code></pre>
  
  <p>Are there any other cases like this? (That is, where an <em>unusual</em> qualification occurs - by unusual I mean not: <code>fullQualifier.identifier</code>).</p>
  
  <p>I'm excluding the case of the automatic imports (java.lang, primitive types, etc.)</p>