提炼参数 在方法中添加新的参数,且更新这个方法的调用。 操作步骤: 菜单栏: Refactor —> Extract —> Parameter... 快捷键 : Mac: option + Command + P