Community
Participate
Working Groups
I20050405-0800 Select any parameterless constructor declaration and press Ctrl+G. => All constructor declarations with no parameters are found (zillions). The problem is that the 'Search > Declarations > Workspace' action uses IJavaSearchConstants.DECLARATIONS | IJavaSearchConstants.IGNORE_DECLARING_TYPE | IJavaSearchConstants.IGNORE_RETURN_TYPE, and the resulting ConstructorPattern contains no name any more. The unqualified type name should stay in a constructor pattern, even if one of the IGNORE constants is used.
Fixed and released in HEAD. [jdt-core-internal] Test case added in JavaSearchBugsTests
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.