title: Access outer class "super" from inner class in Java
body: <p>How can I access outer class' <code>super</code> from an inner class?</p>
  
  <p>I'm overriding a method to make it run on a different thread. From an inline Thread, I need to call the original method but of course just calling <code>method()</code> would turn into an infinite recursion.</p>
  
  <p>Specifically, I'm extending BufferedReader:</p>
  
  <pre><code>public WaitingBufferedReader(InputStreamReader in, long waitingTime)
  {
      [..]
      @Override
      public String readLine()
      {
          Thread t= new Thread(){
              public void run()
              {
                  try { setMessage(WaitingBufferedReader.super.readLine()); } catch (IOException ex) { }
              }
           };
  
            t.start();
            [..]
      }
  }
  </code></pre>
  
  <p>This somewhere gives me a NullPointerException I'm not able to find.</p>
  
  <p>Thanks.</p>