open static fun copyPropertiesToBean(ann: Annotation, bean: Any, vararg excludedProperties: String): Unit
Copy the properties of the supplied Annotation to the supplied target bean. Any properties defined in excludedProperties will not be copied.
ann - the annotation to copy from
bean - the bean instance to copy to
excludedProperties - the names of excluded properties, if any
See Also
org.springframework.beans.BeanWrapper
open static fun copyPropertiesToBean(ann: Annotation, bean: Any, @Nullable valueResolver: StringValueResolver, vararg excludedProperties: String): Unit
Copy the properties of the supplied Annotation to the supplied target bean. Any properties defined in excludedProperties will not be copied.
A specified value resolver may resolve placeholders in property values, for example.
ann - the annotation to copy from
bean - the bean instance to copy to
valueResolver - a resolve to post-process String property values (may be null)
excludedProperties - the names of excluded properties, if any
See Also
org.springframework.beans.BeanWrapper