Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Bypass Xtend's IterableExtensions when there's a conflict
Bypass Xtend's IterableExtensions when there's a conflict [message #1829912] Mon, 13 July 2020 20:53 Go to next message
Mirko Raner is currently offline Mirko RanerFriend
Messages: 125
Registered: July 2009
Location: New York City, NY
Senior Member
Is there a way to bypass or disable Xtend's IterableExtensions extension methods when they collide with other methods? Specifically, my problem is invoking net.bytebuddy.matcher.FilterableList.filter(ElementMatcher). I even tried adding some type hints, but IterableExtensions.filter always seems to win out because FilterableList eventually extends Iterable.

How can I express that I don't want to use the extension method in this case?
Re: Bypass Xtend's IterableExtensions when there's a conflict [message #1829913 is a reply to message #1829912] Mon, 13 July 2020 20:55 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14669
Registered: July 2009
Senior Member
If you don't use the extension method / syntax then this should
Work ootb and otherwise would be a bug.
Can you please provide a reproducible example project


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How to use FileResourceHandler in xtext web for importUri resolution
Next Topic:Fuzzy grammar advice
Goto Forum:
  


Current Time: Sat Apr 27 02:09:18 GMT 2024

Powered by FUDForum. Page generated in 0.03076 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top