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

add support for initMethod and destroyMethod attributes of @Bean #1311

Open
martinlippert opened this issue Jul 25, 2024 · 1 comment
Open
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion type: enhancement
Milestone

Comments

@martinlippert
Copy link
Member

Add support for initMethod and destroyMethod attributes of the @Bean annotation with:

  • auto-completion showing method proposals (only with signatures that would fit; void no-arg methods, including those that are inherited from supertypes)
  • go to definition, allowing the user to jump to the referenced method declaration
@martinlippert martinlippert added type: enhancement for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion labels Jul 25, 2024
@martinlippert martinlippert added this to the 4.26.0.RELEASE milestone Jul 25, 2024
@manueljordan
Copy link

I think it is very valuable.

About the first bullet point

only with signatures that would fit; void no-arg methods, including those that are inherited from supertypes

Just in case, currently through the initMethod and destroyMethod elements is possible define to refer private methods too. Even more:

  • consider if should be referred a method defined in a .class of a third party located in a .jar file

It without matter the method's visibility

@martinlippert martinlippert modified the milestones: 4.26.0.RELEASE, Backlog Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants