双击一个字段,右键,Refactor,Encapsulate Filed:
eclipse重构功能,把一个开放的字段转为一个方法
猜你喜欢
转载自blog.csdn.net/quantum7/article/details/125868148
今日推荐
周排行