[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: JavaDoc Warnings

Rob Williams wrote:

I figured with 3.0 out now, maybe the JavaDoc warnings would be working, but I'm still seeing the same problem. Here is an explanation:

1. I turn on the warnings at all three levels in the preferences pane.

2. I go back to the source and see a warning about this block of code:

class CastCountingVisitor extends ASTVisitor {
/*
* (non-Javadoc)
*
* @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.CastExpression)


         */
        public boolean visit(CastExpression node) {
            nCasts++;
            return super.visit(node);
        }

I assume the warning tells about missing Javadoc comment, right? This is expected since this is not Javadoc but a simple block comment. The "(non-Javadoc)" is not recognized. If you want such a feature then please file a bug report against JDT Core.


Dani


3. If I use quick fix, it just puts the same block back in.

What am I missing?

Thanks.