Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327312 - [Xbase] Add support for invocations of static java features
Summary: [Xbase] Add support for invocations of static java features
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-08 04:32 EDT by Sven Efftinge CLA
Modified: 2017-09-19 17:14 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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