Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327312

Summary: [Xbase] Add support for invocations of static java features
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2010-10-08 04:32:44 EDT

    
Comment 1 Sven Efftinge CLA 2011-03-26 20:34:26 EDT
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.
Comment 2 Sebastian Zarnekow CLA 2011-03-26 21:43:58 EDT
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).
Comment 3 Sebastian Zarnekow CLA 2011-03-28 04:09:57 EDT
Pushed to master. I'll creae a follow up bug for the documentation parts of this ticket.
Comment 4 Karsten Thoms CLA 2017-09-19 17:03:01 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:14:35 EDT
Closing all bugs that were set to RESOLVED before Neon.0