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

Address override-only method usage violation in 'AnAction.actionPerformed(AnActionEvent)' #1188

Closed
3 tasks
dessina-devasia opened this issue Dec 16, 2024 · 2 comments
Labels
Deprecated API's Deprecated API usage in LTI duplicate This issue or pull request already exists low priority
Milestone

Comments

@dessina-devasia
Copy link
Contributor

The following violations involve the invocation of the AnAction.actionPerformed(AnActionEvent) method, which is marked with the @ApiStatus.OverrideOnly annotation. This annotation indicates that the method should only be overridden and not invoked by client code:

  • AnAction.actionPerformed(AnActionEvent) is invoked in LibertyRunConfiguration.getState(...).
  • AnAction.actionPerformed(AnActionEvent) is invoked in RunLibertyDevTask.handleLibertyTreeEvent(...).
  • AnAction.actionPerformed(AnActionEvent) is invoked in RunLibertyDevTask.actionPerformed(AnActionEvent).

These invocations need to be addressed to ensure compliance with the @ApiStatus.OverrideOnly annotation.

@anusreelakshmi934
Copy link
Contributor

Based on our discussion with the JetBrains team, we found that the replacement for the actionPerformed(AnActionEvent) method is unavailable in version 2024.1.7. Therefore, ensuring compatibility across versions 2024.1 to 2024.3 is not feasible with this change.

@dessina-devasia
Copy link
Contributor Author

Closing the issue as it is duplicate of #1118

@github-project-automation github-project-automation bot moved this from Prioritized to Sprint Closed in Open Liberty Developer Experience Jan 10, 2025
@dessina-devasia dessina-devasia added the duplicate This issue or pull request already exists label Jan 10, 2025
@TrevCraw TrevCraw moved this from Sprint Closed to Closed in Open Liberty Developer Experience Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecated API's Deprecated API usage in LTI duplicate This issue or pull request already exists low priority
Projects
Development

No branches or pull requests

2 participants