Bug 372731 - [xbase] Quickfixes for unsatisfied links to constructors
Summary: [xbase] Quickfixes for unsatisfied links to constructors
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 08:42 EST by Sebastian Zarnekow CLA
Modified: 2012-11-26 01:58 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2012-02-28 08:42:29 EST
Now that we have constructor invocations without parameters, it's time to think about better error messages and quickfixes for broken cross links in that field.

var String s = new java.lang.StringBuffer.toString

will yield "Cannot resolve JvmConstructor java.lang.StringBuffer.toString".

It would be nice to remove the Jvm prefix from the error message and offer a dedicated quickfix to disambiguate the reference if possible, e.g. "Change to new StringBuffer().toString"