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

Bug 363776

Summary: [Xtend] static methods are not overridden
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: jan, tmf.xtext-inbox
Version: 2.1.1Flags: sven.efftinge: juno+
Target Milestone: M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-11-15 03:17:54 EST
Currently the override check ignores the static modifier.
It should only take non static methods into account.
Comment 1 Jan Koehnlein CLA 2011-11-21 05:57:08 EST
Java demands compatible signatures even on static methods. Given that the 'override' keywords should point users to such issues, it's a good idea to leave the check as strict as it currently is. We don't generate override annotations anyway, yet.
Comment 2 Jan Koehnlein CLA 2011-11-21 05:59:59 EST
Folloe up in bug 364298
Comment 3 Karsten Thoms CLA 2017-09-19 17:36:39 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 17:47:35 EDT
Closing all bugs that were set to RESOLVED before Neon.0