JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar
从来好事天生俭,自古瓜儿苦后甜。这篇文章主要讲述JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar相关的知识,希望能为你提供帮助。
平时没怎么注意,今天用Eclipse自动生成Set Get方法时提示错误,错误信息如下:
【JAVA错误提示:The operation is not applicable to the current selection.Select a field which is not declar】The operation is not applicable to the current selection.Select a field which is not declared as type variable or a type that declares such fields.
文章图片
原因:
文章图片
解决方案:将光标定位到类内部自动生成Set、Get即可
文章图片
推荐阅读
- App Crawler
- uni-app获取当前位置
- Android中UI线程与worker线程的通信方法
- 360免费wifi app不限时长登陆cmcc你值得拥有!
- Android binder流程简图
- androidstudio的安装与抓log
- idea~创建maven webapp项目
- Android 程序分析环境搭建-开发环境搭建
- android细节之android.intent.category.DEFAULT的使用