title: Why would a static nested interface be used in Java?
body: <p>I have just found a static nested interface in our code-base.</p>
  
  <pre><code>class Foo {
      public static interface Bar {
          /* snip */
      }
      /* snip */
  }
  </code></pre>
  
  <p>I have never seen this before. The original developer is out of reach. Therefore I have to ask SO:</p>
  
  <p>What are the semantics behind a static interface? What would change, if I remove the <code>static</code>? Why would anyone do this?</p>