void (String[] args) { class X { public void run() { new Runnable() { public void run() { Runnable inner = new Inner(); inner.run();X.this.run(); } }.run(); } } Runnable r = () -> new X().run(); r.run(); }