Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » [V3.13.101] Type bindings for method invocations not resolved when enclosed in lambda expressions
[V3.13.101] Type bindings for method invocations not resolved when enclosed in lambda expressions [message #1785140] Mon, 09 April 2018 23:33 Go to next message
Ron Desmond is currently offline Ron DesmondFriend
Messages: 2
Registered: April 2018
Junior Member
Hi, I'm using JDT core version 3.13.101 standalone. For most method invocations, I can call "methodInvocation.getExpression().resolveTypeBinding()", but when the method invocations are contained within lambda expressions, the resolve bindings call evaluates to 'null'. I ran into a Stack Overflow question that recommended using version 3.13. There was also a bug report here at "https://bugs.eclipse.org/bugs/show_bug.cgi?id=427483" that seemed similar? If you need more information please let me know
Re: [V3.13.101] Type bindings for method invocations not resolved when enclosed in lambda expression [message #1785355 is a reply to message #1785140] Thu, 12 April 2018 21:32 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1627
Registered: July 2009
Senior Member
The linked bug (fixed in JDT 3.9.2) speaks of internal compiler bindings. If your program can be compiled OK by ecj, then that's not the issue, but the problem you describe would be specific to the public DOM AST and its bindings. If you have a reproducible example please file a new bug.
Re: [V3.13.101] Type bindings for method invocations not resolved when enclosed in lambda expression [message #1785415 is a reply to message #1785355] Fri, 13 April 2018 14:28 Go to previous message
Ron Desmond is currently offline Ron DesmondFriend
Messages: 2
Registered: April 2018
Junior Member
Thanks Stephan, I can do some more research this weekend and if I find/reproduce something then I'll submit a bug report.
Previous Topic:How to find import statements that are required for the block in AST Eclipse JDT?
Next Topic:How to pin to Start Eclipse Oxygen on Windows 10
Goto Forum:
  


Current Time: Sun Sep 23 01:12:26 GMT 2018

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

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

Back to the top