Community
Participate
Working Groups
would be nice to be able to search for typecasts to specific or wildcard types. so if i have somewhere in my code: "String name = (String) list.get(0);" i would like to be able to search for casts to 'String' class. or, i may like to search for casts to ANY class type, and find this one along with others. this would help in identifying areas of code which can be improved by changes making them type-safe.
This is something we have in mind. More search patterns, think of search for synchronization on a given type, or catching/throwing certain types.
If time permit... Otherwise, defer to next release
Unfortunately, defer post 3.1
Reopen for 3.2
Must be fixed in conjunction with "Search Template" enhancement (see bug 110157)
Reopen as LATER is deprecated...
Should be more addressed while fixing bug 155013 than bug 110157...
Addressed by using fine grain flag IJavaSearchConstants#CAST_TYPE_REFERENCE (see bug 155013). Mark as duplicate because no additional changes were necessary after bug 155013 was fixed... *** This bug has been marked as a duplicate of bug 155013 ***
Verified for 3.4 M4 using build I20071211-0010