Strange autogenerated getter and setter in eclipse

前端 未结 3 1413
慢半拍i
慢半拍i 2021-01-18 18:35

When I use the auto generation for getter/setter in Eclipse for an class field with a name like
String lAttr it will produce this:

public St         


        
3条回答
  •  时光取名叫无心
    2021-01-18 19:07

    1) I don't think it's possible, similar discussion:

    Change Eclipse Getters Setters syntax

    2) another option, as alternative, is to use templates for getters and setters. though there is a small problem there too, similar discussion:

    How to deal with Camel Case for Eclipse Templates?

提交回复
热议问题