The eperation is not applicable to the current selection select a field which is not declared ad type variable or a type that declares such fields
当生成get set方法 提示是面错误解决办法
翻译过来是说 该操作当前无法生成变量字段或此类型的字段
解决方法 很简单 把光标定位在 类里 即可 如下面
public class nameClass(){
privce String test1;
privce String test2;
//光标定位此处 再生成 set get 方法
}
关注"都市百货" 了解南陵
微信咨询wanglf2r(不拉群 发广告者勿加)
热门评论