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

Fix annotated types in new class expression #773

Conversation

antonsviridov-src
Copy link
Contributor

@antonsviridov-src antonsviridov-src commented Feb 25, 2025

Previously, new @Bla String() crashed the plugin.
Now we handle it explicitly.

Test plan

  • New snapshot

// display_name ClassProcessed
// signature_documentation java class ClassProcessed<T extends Number>
// kind Class
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ClassProcessed#[T]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this bug is caused by a separate issue, and I will fix it separately.


public ClassProcessed() {
// ^^^^^^^^^^^^^^ definition semanticdb maven . . minimized/ClassProcessed#`<init>`().
// display_name <init>
Copy link
Contributor Author

@antonsviridov-src antonsviridov-src Feb 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another bug just spotted 🙃

nope, that's correct

@antonsviridov-src antonsviridov-src merged commit 95af400 into main Mar 4, 2025
16 checks passed
@antonsviridov-src antonsviridov-src deleted the antonsviridov-graph-1020-npe-in-scip-java-when-using-type-annotations branch March 4, 2025 15:57
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

Successfully merging this pull request may close these issues.

2 participants