Community
Participate
Working Groups
Suppose we have following classes in the same package: public class A{ int f; public void m() {} public void m(String str) {} } public class B{ /** * @see A * @see A#f * @see A#m() * @see A#m(String) */ void valid() {} } Search find references in B to type A, field f or method m(String) but not to method m().
Method reference was not accepted when method arguments field was null in SourceElementParser.checkAnnotation()! Fixed by accepting the reference even when method has no argument (argument count = 0 in this case)... This bug has been found while implement test class JavaSearchAnnotationTests => no specific test cases added
Verified.