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

Bug 364966

Summary: [Xtend] member initializer: content assist: static (imported) methods are missing
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: moritz.eysholdt: juno+
Target Milestone: M4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description Moritz Eysholdt CLA 2011-11-28 10:33:53 EST
Exanple:

---
class bar {	
	Iterable<Integer> x = newA|rrayList(1, 2)
}
---

move the cursor to the position of the pipe and trigger content assist. 
"newArrayList" is not among the suggestions. 

Furthermore, in

---
class bar {
	def static Iterable<Integer> x() {
	}
	
	Iterable<Integer> l = x|()
}
---

is "x" (the local static method) missing in the content assist proposals.
Comment 1 Sebastian Zarnekow CLA 2011-11-28 13:00:39 EST
Pushed to master.
Comment 2 Karsten Thoms CLA 2017-09-19 17:19:57 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:31:24 EDT
Closing all bugs that were set to RESOLVED before Neon.0