commit | e67e0886cb9006dfd9dd7731037840fde3e269d0 | [log] [tgz] |
---|---|---|
author | Gayan Perera <gayanper@gmail.com> | Sat Apr 24 19:36:58 2021 +0200 |
committer | Stephan Herrmann <stephan.herrmann@berlin.de> | Sun May 02 13:41:03 2021 -0400 |
tree | 0ef9f4f8010ff28b3cf045a880a7a81cf2094d99 | |
parent | 9af9db285fa1e14172762f79cde8394a7fb4ce57 [diff] |
Bug 573105 - Support member completions inside lambda method invocations When invoking completions of variable type members inside a method invocation which is in a lambda expression with completing the whole statement without a semicolon, it fails to resolve the binding for completion node. This is because the outer expression which is the invocation which contains lambda is not provided in the recovered statements. To fix this we provide more context as outerExpression in the CompletionNodeDetector whenever we detect an inner expression that is a potential poly expression. Change-Id: If4c9ea5fc1b6c284186c2c7b1a2bfcae08cff914 Signed-off-by: Gayan Perera <gayanper@gmail.com> Also-by: Stephan Herrmann <stephan.herrmann@berlin.de> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/179807 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.