title: Kotlin outer scope
body: <p>I would like to access the scope of the calling class when creating an "anonymous inner class"
  in Kotlin. What would be the equivalent of Java's <code>OuterScope.this</code> syntax? example :</p>
  
  <pre><code>open class SomeClass {
      open fun doSomething() {
          // ...
      }
  }
  
  class MyClass {
      fun someFunc() {
          object : SomeClass() {
              override fun doSomething() {
                  super&lt;SomeClass&gt;.doSomething()
                  // Access the outer class context, in Java
                  // this would be MyClass.this
              }
          }
      }
  }
  </code></pre>