By Sébastien Laoût, Ubik Ingénierie
When extracting a part of a method as a functional parameter, select the code to extract and use the tool "Refactor" => "Extract Functional Parameter": IntelliJ will offer you with a well-suited interface.
The image is provided under the licence Creative Commons - Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)