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

[24] content assist for JEP 488 - Primitives in Patterns

Open
#2,886 3 comments 0 reactions 0 assignees View on GitHub
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

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.