Eclipse快速生成do while if 等方法

选中所需要加方法的代码  右键  选中 surrounded with选择你需要就可以了

原文地址:https://www.cnblogs.com/lyxcode/p/9048078.html