Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23] content assist for JEP 455 - Primitives in Patterns #2886

Open
mpalat opened this issue Sep 3, 2024 · 0 comments
Open

[23] content assist for JEP 455 - Primitives in Patterns #2886

mpalat opened this issue Sep 3, 2024 · 0 comments
Milestone

Comments

@mpalat
Copy link
Contributor

mpalat commented Sep 3, 2024

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));
	}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant