How can one get reference to the outer class from inner class not using outer class name?
===

Here is the sample code:

    Class SomeClass extends Activity {
        public void someMethod() {
            Runnable r = new Runnable() {
                public void run() {
                    Intent service = new Intent(SomeClass.this, SomeOtherClass.class);
                    // ...
		}
            }
        }
    }

How can I change code to not use `SomeClass` ( in `new Intent(SomeClass.this, ...)`)?
I want to place this sample in multiple classes and I do not want each time use different class name.