spring-framework / org.springframework.beans.factory.config / FieldRetrievingFactoryBean / setTargetClass

setTargetClass

open fun setTargetClass(@Nullable targetClass: Class<*>): Unit

Set the target class on which the field is defined. Only necessary when the target field is static; else, a target object needs to be specified anyway.

See Also
#setTargetObject#setTargetField