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

Bug 365831

Summary: Add warning/error and quickfix to @Override
Product: [Tools] Xtend Reporter: Niko Stotz <eclipse>
Component: BacklogAssignee: Project Inbox <xtend-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.dietrich.opensource, sven.efftinge
Version: 2.2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: v2.12

Description Niko Stotz CLA 2011-12-07 03:13:27 EST
Build Identifier: M20110909-1335

If the user adds @Override as annotation (not as keyword) to an Xtend2 method, it is no warning or error, but does not get converted to Java code. This should be marked and a quickfix should remove the @Override and add the override keyword. This especially helps Xtend2 newbies (like me).

I'm using Xtend 2.1.1 (in an Xtext 1 target environment, but I suppose this shouldn't matter as the developing Eclipse is current (Eclipse 3.7.1, Xtext 2.1.1)).

Reproducible: Always
Comment 1 Christian Dietrich CLA 2017-03-13 04:35:10 EDT
Will be fixed with #364298

*** This bug has been marked as a duplicate of bug 364298 ***