Community
Participate
Working Groups
We are using the SearchEngine#searchDelcarationsOfReferenceTypes(...) api and we have our own requestor that will ignore matches inside of comments. public void acceptSearchMatch(SearchMatch match) throws CoreException { if(match.getAccuracy() == SearchMatch.A_ACCURATE && !match.isInsideDocComment()) result.add(match.getElement()); } The problem we are seeing is that the TypeDeclarationMatch is never getting its insideDocComment field set when it was clearly found within a comment. For example we have the following. /** * @link some.simple.Test */ public interface A { } The search is calling our requestor's acceptSearchMatch for the "some.simple.Test" type as a TypeDeclarationMatch. In this example, however, the isInsideDocComment() on the match returns false. This used to work on an older version of the 3.0 code base.
Your Javadoc tag is invalid! you should write either: /** * {@link some.simple.Test} */ or /** * @see some.simple.Test */ and then you'll get your insideDocComment correctly set...