java se the operation is not applicable to the current selection

时间:2022-06-13 17:35:09

当新建某的类时,需要自动构建 set get方法时。

我们一般 会直接让Myeclipse自动生动。偶尔 。他会犯2.

java se the operation is not applicable to the current selection

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

意思是当前操作并不合适,请选择字段。

关了Myeclipse也不行。。。

直接 选中字段 构建。就行了。。