"Introduce local variable" should suggest for Function expression — IntelliJ IDEA feature request — Has it shipped?