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

Xtend does not accept annotation @Nullable on parameter #2864

Open
frankbenoit opened this issue Dec 4, 2023 · 1 comment
Open

Xtend does not accept annotation @Nullable on parameter #2864

frankbenoit opened this issue Dec 4, 2023 · 1 comment

Comments

@frankbenoit
Copy link
Contributor

frankbenoit commented Dec 4, 2023

Using org.eclipse.jdt.annotations.

Is there a problem if the annotation has

@Target({ TYPE_USE })

like @Nullable/@nonnull have it?

def String func( @Nullable String s ){ ...

results in: The annotation @nullable is disallowed at this location

@cdietrich
Copy link
Member

see also #2360

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

2 participants