Inlining a local variable

To inline a local variable: Related reference
Refactoring actions
Refactoring dialogs
Java preferences