Skip to content

Track only qualifier annotations in BeanOverrideHandler #34260

@sbrannen

Description

@sbrannen

BeanOverrideHandler currently tracks all "field annotations" for bean override fields (such as those annotated with @MockitoBean); however, the intention was to track "qualifier annotations" analogous to what Spring Boot's QualifierDefinition does.

In light of that, we should revise BeanOverrideHandler so that it tracks only qualifier annotations for use in equals() and hashCode().

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions