| Summary: | [content assist] Regression: Javadoc popup not displayed for constructors | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Randy Hudson <hudsonr> |
| Component: | Text | Assignee: | Tom Hofmann <eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 3.1 | ||
| Target Milestone: | 3.1 RC2 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Bug Depends on: | 98711 | ||
| Bug Blocks: | |||
|
Description
Randy Hudson
So far parameter code assist never showed the hover in those situations. I am trying to see the javadoc for a specific constructor, not for the paremeters in the constructor. I just verified that this was working fine in 3.0.1. You're right, I tested something different. Marking as RC2 candidate to investigate. We're good in time. Promoting this one to P2. The problem is with core - there is no way to distinguish constructors from methods. If bug 98711 does not get resolved, we can get the javadoc using a fairly precise heuristic - we can assume a method is a ctor if type name and method name are equal. This will fail in this class using an admittedly very bad style: class Test { public Test(int i) {} public void Test(int i) {} } Has core made a breaking change? If so, it should be mentioned in the porting guide. Not directly - we are using new API (CompletionRequestor vs. the old infrastructure). But the new API seems to be less expressive in this particular case. fixed > 20050608 http://Verified in N20050609-0010. Tom, please update state to VERIFIED . |