eclipse-jdt / eclipse-jdt/eclipse.jdt.core
[24] content assist for JEP 488 - Primitives in Patterns
Open
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
Given a preview enabled Java 23 compliance and the following source, completion at **/* here */** can provide options for primitives as well.
```
public class X {
public static byte foo(byte b) {
if (b instanceof **/* here */by**) {
return b;
}
return -1;
}
public static void main(String[] args) {
byte b = 1;
System.out.println(X.foo(b));
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.