Summary: | AST MethodBinding question | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Olivier_Thomann |
Version: | 2.0 | ||
Target Milestone: | 2.0 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Martin Aeschlimann
2002-04-04 04:59:40 EST
We have a special guessing mode for code selection. Unclear whether we would like to find a potential binding decoration in case message arguments could not be bound. For each unbound field/method, you would step to the parent level and guess its expected type for the unbound node ? But this would be tricky to generalize, since not only messages are involved here, but rather every compound expression... I could try to do the guessing myself. How do I get the receiver type of my method? I consider this feature as being beyond the scope of the DOM/AST API. The DOM/AST API is supposed to return bindings when they can be resolved. This is clearly not the case here. The guessing technology was on SelectionOnMessageSend. We will experiment moving it into the base MessageSend node, only in error case. It is quite small, and if satisfactory then we will release it. Fixed |