2007-08-22

Controlling Java Visibility in Eclipse

If you configure the Eclipse Java compiler to issue warnings for missing Javadoc comments on non-overridden public members, it provides feedback that encourages one to minimize visibility declarations (e.g. favour private over package over protected over public visibility).  It is easier to downgrade a member from public to package visibility then to write an inane comment.