An automatic Java comment generator