What convention do you use to comment getters and setters? This is something I\'ve wondered for quite some time, for instance:
/**
* (1a) what do you put h
If there isn't special operation in getter/setter I usually write :
With Javadoc (with private option):
/** Set {@see #salary}. @param {@link #salary}. */
public void setSalary(float salary);
and/or
/**
* Get {@see #salary}.
* @return {@link #salary}.
*/
public float salary();
With Doxygen (with private extract option):
/** @param[in] #salary. */
public void setSalary(float salary);
/** @return #salary. */
public float salary();