eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Static interface methods are not offered inside a lamda
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 22h 47m
- Merged PRs (30d)
- 28
Description
Assume the following code:
```
public void nocomplete() {
List list = new ArrayList<>();
CompletableFuture.runAsync(() -> {
list.stream().forEach(str -> {
List. <---cursor here
System.out.println(str);
});
});
}
```
results in the following auto completion:

adding a `;` at the end make the thing work:
```
public void nocomplete() {
List list = new ArrayList<>();
CompletableFuture.runAsync(() -> {
list.stream().forEach(str -> {
List. <---cursor here--> ;
System.out.println(str);
});
});
}
```

in contrast for local variables it works without adding an extra `;` at the end:

Contributor guide
Assessment
This issue has not been assessed yet.