I need to custom eclipse setter template to return this object, like this
public Person setName(String name){
this.name=name;
return this;
}
but Java->Code Style->Templates only allow me to custom setter body part, not method definition. Is there any way to do it?