spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertySource.java
/**
	 * Return a single new {@link ConfigurationPropertySource} adapted from the given
	 * Spring {@link PropertySource} or {@code null} if the source cannot be adapted.
	 * @param source the Spring property source to adapt
	 * @return an adapted source or {@code null} {@link SpringConfigurationPropertySource}
	 * @since 2.4.0
	 */
Return a single new  ConfigurationPropertySource adapted from the given
Spring  PropertySource or  null if the source cannot be adapted.
@param source the Spring property source to adapt
@return an adapted source or  null  SpringConfigurationPropertySource
@since 2.4.0
Return a single new ConfigurationPropertySource adapted from the given Spring PropertySource or null if the source cannot be adapted . @param source the Spring property source to adapt @return an adapted source or null SpringConfigurationPropertySource @since 2 . 4 . 0
static ConfigurationPropertySource from(PropertySource<?> source) {
		if (source instanceof ConfigurationPropertySourcesPropertySource) {
			return null;
		}
		return SpringConfigurationPropertySource.from(source);
	}
static ConfigurationPropertySource from ( PropertySource < ? > source ) { if ( source instanceof ConfigurationPropertySourcesPropertySource ) { return null ; } return SpringConfigurationPropertySource . from ( source ) ; }
Return a single new {@link ConfigurationPropertySource} adapted from the given
 Spring {@link PropertySource} or {@code null} if the source cannot be adapted.
Return a single new { @link ConfigurationPropertySource } adapted from the given Spring { @link PropertySource } or { @code null } if the source cannot be adapted .