title: Using methods from the "outer" class in inner classes
body: <p>When defining nested classes, is it possible to access the "outer" class' methods? I know it's possible to access its attributes, but I can't seem to find a way to use its methods.</p>
  
  <pre><code>    addMouseListener(new MouseAdapter() {
          @Override
          public void mouseClicked(MouseEvent e) {
              if (e.getClickCount() == 2 &amp;&amp; //&lt;-- Here I'd like to
          }                                 // reference a method
      });                                   //from the class where
                                            //addMouseListener() is defined!
  </code></pre>
  
  <p>Thanks</p>