eclipse-jdt / eclipse-jdt/eclipse.jdt.core

Implementation is not found when inside a lamda in type hierarchy

Open
#2,157 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

Please see this example project: [ImplInLamda.zip](https://github.com/eclipse-jdt/eclipse.jdt.core/files/14600666/ImplInLamda.zip)

If I do a TypeHierarchy with

```
Eclipse SDK

Version: 2024-06 (4.32)
Build id: I20240313-1800
```

I see this:
![grafik](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/1331477/b50677ba-9515-41b3-b248-4b8139a6dd0a)

now uncomment the impl outside the lamda:

![grafik](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/1331477/86e7fbbd-cec4-4e26-b865-d841139403ea)

interestingly doublclick on the one that is now found jumps to the lamda:
![grafik](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/1331477/13bcbbd3-e53c-4eef-a198-abb06bd45517)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.