spring-framework / org.springframework.beans.factory / BeanFactoryUtils / isGeneratedBeanName

isGeneratedBeanName

open static fun isGeneratedBeanName(@Nullable name: String): Boolean

Return whether the given name is a bean name which has been generated by the default naming strategy (containing a "#..." part).

Parameters

name - the name of the bean

Return
whether the given name is a generated bean name

See Also
#GENERATED_BEAN_NAME_SEPARATORorg.springframework.beans.factory.support.BeanDefinitionReaderUtils#generateBeanNameorg.springframework.beans.factory.support.DefaultBeanNameGenerator