This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 81182 - Type not reckognized for return value of generic method
Summary: Type not reckognized for return value of generic method
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 15:34 UTC by space
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Illustrative code (374 bytes, text/plain)
2006-07-26 15:36 UTC, space
Details

Note You need to log in before you can comment on or make changes to this bug.
Description space 2006-07-26 15:34:30 UTC
NetBeans does not understand that the method with signature <T> T f(T) returns 
an object with the same type as the argument. This implies features like code 
completion, "find usages" and refactoring don't work.

Code to illustrate the problems is attached.
Comment 1 space 2006-07-26 15:36:06 UTC
Created attachment 32241 [details]
Illustrative code
Comment 2 Jan Becicka 2006-10-26 16:27:52 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 3 Quality Engineering 2007-09-20 10:50:51 UTC
Reorganization of java component