Update Javadoc for @Mockito[Spy]Bean to reflect current semantics
This commit is contained in:
parent
f7e32a9c78
commit
1b8f2c46c1
|
@ -69,7 +69,8 @@ public @interface MockitoBean {
|
||||||
/**
|
/**
|
||||||
* The name of the bean to register or replace.
|
* The name of the bean to register or replace.
|
||||||
* <p>If left unspecified, the bean to override is selected according to
|
* <p>If left unspecified, the bean to override is selected according to
|
||||||
* the annotated field's type.
|
* the annotated field's type, taking qualifiers into account if necessary.
|
||||||
|
* See the {@linkplain MockitoBean class-level documentation} for details.
|
||||||
* @return the name of the mocked bean
|
* @return the name of the mocked bean
|
||||||
*/
|
*/
|
||||||
String name() default "";
|
String name() default "";
|
||||||
|
|
|
@ -58,8 +58,9 @@ public @interface MockitoSpyBean {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the bean to spy.
|
* The name of the bean to spy.
|
||||||
* <p>If left unspecified, the bean to override is selected according to
|
* <p>If left unspecified, the bean to spy is selected according to
|
||||||
* the annotated field's type.
|
* the annotated field's type, taking qualifiers into account if necessary.
|
||||||
|
* See the {@linkplain MockitoSpyBean class-level documentation} for details.
|
||||||
* @return the name of the spied bean
|
* @return the name of the spied bean
|
||||||
*/
|
*/
|
||||||
String name() default "";
|
String name() default "";
|
||||||
|
|
Loading…
Reference in New Issue