getset方法快捷键
时间: 2023-09-08 18:13:19 浏览: 131
快捷键Alt+Insert可以用于生成getter和setter方法。当光标放在一个没有get和set方法的成员变量上时,按下Alt+Insert,会弹出一个小窗口,选择"Getter and Setter"选项。这样就可以快速生成对应的getter和setter方法了。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *3* [IntelliJ IDEA get set 快捷键](https://blog.csdn.net/joshua317/article/details/120513209)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Java 中的get set方法快捷键和含义](https://blog.csdn.net/weixin_46334815/article/details/126324599)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文