Outer.this
t
class Outer { void aMethod() { NewClass newClass = new NewClass() { void bMethod() { System.out.println( Outer.this.getClass().getName() );
BTW Java class names begin with uppercase by convention.
OscarRyz Apr 28 '10 at 17:36 2010-04-28 17:36
source share