You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
completion for @DependsOn should not suggest its own bean #1429
At the moment, code completion for @DependsOn suggests all the bean names of the project, but it should not suggest the name of the bean on which the annotation itself is declared on. Does not make a lot of sense to declare a dependency on its own.
@Component
@DependsOn(<*>)
public class MovieService {
...
Proposals in this case should not include the movieService bean name.
Activity
martinlippert commentedon Feb 3, 2025
Looks like this does work for
but not for
spring-projectsGH-1429: do not include bean names from the same metho…
spring-projectsGH-1429: find parent method or type declaration from w…