spring-projects / spring-projects/spring-tools
add support for `initMethod` and `destroyMethod` attributes of `@Bean`
Open
Nobody has claimed this yet.
for: eclipse
for: vscode
theme: code completion
type: enhancement
- Dominant language
- Java
- Stars
- 983
- Forks
- 240
- Avg merge
- 7d 1h
- Merged PRs (30d)
- 7
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. Start by locating @Bean attribute handling in the Java/Spring tooling, then trace the completion and go-to-definition paths; done means initMethod and destroyMethod offer only compatible void no-argument methods, including inherited ones, and link to their declarations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- devtools, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100