spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/InactiveConfigDataAccessException.java
/**
	 * Throw an {@link InactiveConfigDataAccessException} if the given
	 * {@link ConfigDataEnvironmentContributor} contains the property.
	 * @param contributor the contributor to check
	 * @param name the name to check
	 */
Throw an  InactiveConfigDataAccessException if the given
ConfigDataEnvironmentContributor contains the property.
@param contributor the contributor to check
@param name the name to check
Throw an InactiveConfigDataAccessException if the given ConfigDataEnvironmentContributor contains the property . @param contributor the contributor to check @param name the name to check
static void throwIfPropertyFound(ConfigDataEnvironmentContributor contributor, ConfigurationPropertyName name) {
		ConfigurationPropertySource source = contributor.getConfigurationPropertySource();
		ConfigurationProperty property = (source != null) ? source.getConfigurationProperty(name) : null;
		if (property != null) {
			PropertySource<?> propertySource = contributor.getPropertySource();
			ConfigDataResource location = contributor.getResource();
			throw new InactiveConfigDataAccessException(propertySource, location, name.toString(),
					property.getOrigin());
		}
	}
static void throwIfPropertyFound ( ConfigDataEnvironmentContributor contributor , ConfigurationPropertyName name ) { ConfigurationPropertySource source = contributor . getConfigurationPropertySource ( ) ; ConfigurationProperty property = ( source != null ) ? source . getConfigurationProperty ( name ) : null ; if ( property != null ) { PropertySource < ? > propertySource = contributor . getPropertySource ( ) ; ConfigDataResource location = contributor . getResource ( ) ; throw new InactiveConfigDataAccessException ( propertySource , location , name . toString ( ) , property . getOrigin ( ) ) ; } }
Throw an {@link InactiveConfigDataAccessException} if the given
 {@link ConfigDataEnvironmentContributor} contains the property.
Throw an { @link InactiveConfigDataAccessException } if the given { @link ConfigDataEnvironmentContributor } contains the property .