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

✨ Rule for @Async detection #164

Merged
merged 1 commit into from
Nov 15, 2024
Merged

✨ Rule for @Async detection #164

merged 1 commit into from
Nov 15, 2024

Conversation

jmle
Copy link
Contributor

@jmle jmle commented Nov 6, 2024

Ideally we would want to look for methods that are annotated with @Async and don't return void or Future, but it is not possible at the moment. We can look for methods that do return particular types, but not for methods that return "anything but a type". Also, negating the condition would only tell us that there are no methods that return void or Future, but that does not guarantee that there are more methods which do return something else.

See #141

Signed-off-by: Juan Manuel Leflet Estrada <[email protected]>
@jmle jmle requested review from sshaaf and rromannissen November 6, 2024 10:12
@jmle jmle self-assigned this Nov 6, 2024
Copy link

@rromannissen rromannissen left a comment

Choose a reason for hiding this comment

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

LGTM for the moment. @jmle is there a way to label this so we come back to it once konveyor/analyzer-lsp#716 is implemented?

@jmle jmle closed this Nov 15, 2024
@jmle jmle reopened this Nov 15, 2024
@jmle
Copy link
Contributor Author

jmle commented Nov 15, 2024

LGTM for the moment. @jmle is there a way to label this so we come back to it once konveyor/analyzer-lsp#716 is implemented?

We can leave this rule's issue open and mention it in the RFE

@jmle jmle merged commit 7577e2c into konveyor:main Nov 15, 2024
8 checks passed
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