title: Accessing outer inner class from nester inner class
body: <p>I have the following code:</p>
  
  <pre><code>public class Bar {}
  public class FooBar {}
  
  public class Foo {
  
      public void method() {
          new Bar() {
  
              void otherMethod() { }
  
              void barMethod() {
  
                  new FooBar() {
  
                      void fooBarMethod() {
                          Bar.this.otherMethod(); // not compiles
                      }   
                  };
              }
          };
      }
  
  }
  </code></pre>
  
  <p>So i have an anonymous inner class, which has another anonymous inner class in it. The question: is there any way to access the methods of the outer inner class <code>Bar</code> from the inner inner class <code>FooBar</code>?</p>