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()
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()