Skip to content

completion for @DependsOn should not suggest its own bean #1429

@martinlippert

Description

@martinlippert

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions