I want to get warnings at compile time for every public thing (class, interface, field, method) which doesn’t have a Javadoc comment.
How can I enable this in Eclipse?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Based on your tag, I’ll assume that you mean in Eclipse. To do so, Open the Window -> Preferences Menu Item, and then Under Java -> Compiler -> Javadoc, there will be a dropdown that will either let you treat missing javadoc tags as Error, Warning, or Ignore.
This answer was for the latest version of eclipse, but if you search for javadoc in the preferences search you should be able to find it easily enough.