| Summary: | [Xbase] Add support for invocations of static java features | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sven Efftinge <sven.efftinge> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.0.0 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Sven Efftinge
Static methods as well as static fields shall be invokeable/accessable using the following syntax: my.pack.Type::field my.pack.Type::method(foo,bar) Also update the language references accordingly. Since the qualified syntax my.pack.Type::method(foo,bar) will confuse content assist for myMethod.someField.anotherFeature we'll only allow imported type names as a qualifier, e.g. Collections::sort(list). Pushed to master. I'll creae a follow up bug for the documentation parts of this ticket. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |