Add Javadoc since to InjectedElement.shouldInject()

See gh-30512
This commit is contained in:
Johnny Lim 2023-05-22 10:59:25 +09:00 committed by Stephane Nicoll
parent 1721e42988
commit 15a7f43c7b
1 changed files with 6 additions and 0 deletions

View File

@ -243,6 +243,12 @@ public class InjectionMetadata {
}
}
/**
* Whether the property values should be injected.
* @param pvs property values to check
* @return whether the property values should be injected
* @since 6.0.10
*/
protected boolean shouldInject(@Nullable PropertyValues pvs) {
if (this.isField) {
return true;