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

[RFE] Ability to match on return types with "anything but" #716

Open
jmle opened this issue Nov 6, 2024 · 1 comment
Open

[RFE] Ability to match on return types with "anything but" #716

jmle opened this issue Nov 6, 2024 · 1 comment
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. provider/java/new-queries provider/java

Comments

@jmle
Copy link
Contributor

jmle commented Nov 6, 2024

In this story we would need to match against specifically annotated method declarations that also do not return a certain type. Currently, and according to the Eclipse JDT docs, we can only look for methods that return certain types, with a query like *(*) [type], but that type cannot be negated.

We could potentially achieve this in the adapter layer of the Java provider, in a post-processing step.

Implement konveyor/rulesets#141 after this is completed.

@konveyor-ci-bot konveyor-ci-bot bot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Nov 6, 2024
@konveyor-ci-bot
Copy link

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

@konveyor-ci-bot konveyor-ci-bot bot added needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. labels Nov 6, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-kind Indicates an issue or PR lacks a `kind/foo` label and requires one. needs-priority Indicates an issue or PR lacks a `priority/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. provider/java/new-queries provider/java
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant