commit | ff4301013fd3ee4e063b5c27a1df0a8246217e10 | [log] [tgz] |
---|---|---|
author | Gayan Perera <gayanper@gmail.com> | Wed Jun 30 20:14:33 2021 +0200 |
committer | Stephan Herrmann <stephan.herrmann@berlin.de> | Sun Jul 04 04:01:04 2021 -0400 |
tree | 2081711d7f91e6fe08717db3dad9882eabc14de5 | |
parent | 924f2459d05e4306f2f42f41ededde661aa3210e [diff] |
Bug 563020 - Fix chain completion with overloaded method references When using chain completions such as stream operations with method references of overloaded methods as parameters, earlier it failed resolve the type bounds based on method reference because the method declaration which contains the statements are marked as has syntax errors. The fix try to ignore the syntax errors at CompletionParser after parsing block statements, if the assistNode represents the node at cursor. Change-Id: I39e664964cf89518563eda5eb8e7efc4b10b7ed7 Signed-off-by: Gayan Perera <gayanper@gmail.com> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182718 Tested-by: JDT Bot <jdt-bot@eclipse.org> Reviewed-by: Stephan Herrmann <stephan.herrmann@berlin.de>
This is the core part of Eclipse's Java development tools. It contains the non-UI support for compiling and working with Java code, including the following:
For more information and important links, refer to the [JDT wiki page] 1 or the [JDT project overview page] 2.