Every time I let Eclipse generate a field (most often a serial version UID), it adds a comment above it. Example:
/** * */ private static final long serialVersionUID = 6347144762354188381L;
This happens because this behavior was for some reason deemed desirable by the developers of Eclipse. I know how to disable it, but that's not the point of this question. I have been developing in java for something like ten years and I have a pretty good understanding of what a good, well-commented code looks like. However, I only rarely add comments above fields and I haven't seen many of those in the wild either.
My question is, what is the reason Eclipse does that? Is it because it is a good practice to comment on generated fields? If so, what information should the comment contain?