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 String getlAttr() {
return lAttr;
}
public void setlAttr(String lAttr) {
this.lAttr = lAttr;
}
The first letter of the field will not be capitalized! But some frameworks which I use, work with reflection and invoke the getter/setter by using the "get" + capitalized field name.
Can I change the code generation for getter/setter in eclipse to produce an output like getLAttr()
and setLAttr()
?