eclipse-jdt / eclipse-jdt/eclipse.jdt.core
[Completion] No proposals while trying to generate a stub main method
Open
bug
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
```
public class X {
// As of Java 21
record R(int i) {
public int i() { // bad (but legal) accessor method for i
return i / 0;
}
}
static void exampleAnR(R r) {
switch(r) {
case R(var i): System.out.println(i);
}
}
main| // <<-------------------------- Completion here brings up nothing.
}
```
Contributor guide
Assessment
This issue has not been assessed yet.