Bug 411083 - [aa] MutableClassDeclaration: add method addImplementedInterface()
Summary: [aa] MutableClassDeclaration: add method addImplementedInterface()
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.4.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-19 03:19 EDT by Dietmar Stoll CLA
Modified: 2014-07-04 15:21 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dietmar Stoll CLA 2013-06-19 03:19:57 EDT
It would be nice if MutableClassDeclaration had a method like addImplementedInterface(...).
Comment 1 Stefan Oehme CLA 2014-07-04 15:21:46 EDT
I think a more elegant way would be if compound operators also worked on properties, like outlined in Bug 437600

That way you could just write

cls.implementedInterfaces += iface