Community
Participate
Working Groups
N20031114 package p2; public class RefR { /** * @see p1.R * @see p1.R#field */ public void foo() { } } - search for references to package p1. Observe: you get a match in @see p1.R but not in @see p1.R#field
*** Bug 47209 has been marked as a duplicate of this bug. ***
These kind of see references are considered as message sent and currently we do not explicitely resolve the method type during the resolution. I guess we need to add this explicit resolution to have the type and package reference stored in the indexer...
This might be caused by the fact the the field declared in R is private. See bug 46760.
No, I've tried with field as public and we still don't see the reference to p1.R in @see p1.R#field...
The reference on field type was not stored and not searched => no chance at all to find it... Fixed for fields and also for methods/constructors references... No specific tests cases added as tests.model.JavaSearchJavadocTests already cover this case. I missed that types should be found in these cases and wrote a wrong expected results... This is also fixed for tests now.
Verified for 3.0M6