// "Replace explicit type with 'var'" "true-preview" class MyTest { private void m() { Runnable r = new Runnable() { @Override public void run() {} }; } }