<p>In the following snippet:</p>

<pre><code>public class a {
    public void otherMethod(){}
    public void doStuff(String str, InnerClass b){}
    public void method(a){
        doStuff("asd",
            new InnerClass(){
                public void innerMethod(){
                    otherMethod();
                }
            }
        );
    }
}
</code></pre>

<p>Is there a keyword to refer to the outer class from the inner class?  Basically what I want to do is <code>outer.otherMethod()</code>, or something of the like, but can't seem to find anything.</p>

In general you use
```
OuterClassName.this
```
to refer to the enclosing instance of the outer class.
In your example that would be
```
a.this.otherMethod()
```