Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - @SuppressWarnings("javadoc") does not work

I have my Eclipse configured to show warnings on missing javadoc comments and tags for public elements. That comes very usefull for me in order to keep my code well documented.

But sometimes I have a class, where I have several constants describing for example states of DFA or something.. theres no need to document theese constant, because they are self-explaining..

So I added annotation @SuppressWarnings("javadoc") to the class and here's my point - Eclipse does not concider the annotation and still shows warnings on missing javadocs..

@SuppressWarnings("all") does the job, but that has side effects, which are not desired ;-)

Are you experiencing the same issue? Is this a bug or do I only have something missconfigured? Is there any workaround? Or is this corrected in newer versions?

PS: I'm using Version: 3.3.2 Build id: M20080221-1800

like image 965
Martin Lazar Avatar asked Jun 04 '09 14:06

Martin Lazar


3 Answers

I found this bug, which is still open.

like image 102
Andrew Niefer Avatar answered Nov 14 '22 11:11

Andrew Niefer


At the end of this page you will find all SuppressWarning options which are handled in Eclipse. Unfortunately currently there is no support for suppressing just javadoc warnings. The bug Andrew mentioned is really a feature request for adding this but it seems to have low priority (you can vote for this bug to show Eclipse developers the importance of this feature for you).

like image 32
Csaba_H Avatar answered Nov 14 '22 11:11

Csaba_H


have you tried "allJavadoc" ?

like image 1
LB40 Avatar answered Nov 14 '22 11:11

LB40