IDEA (7.0.2) and javadoc Disagree About Symbol Visibility

Hi,

I'm getting a lot of "reference not found" diagnostics from the "javadoc" command. An example of the code that produces them is this:

PMAnnotation.
*/
public
PMALabel
pmaLabel()
{
    return PMALabel.ePMNote;
}
]]>


What's odd about this is that: a) the code compiles; b) javadoc handles the return type but not the {@link PMALabel}; c) IDEA flags none of this fragment with unresolvable symbol errors.

This could well be a javadoc bug, but if it's not, shouldn't IDEA use a visibility analysis that is consistent with javadoc within documentation comments?

Randall Schulz

Please sign in to leave a comment.