public PropertiesMigrationReport getReport() {
		PropertiesMigrationReport report = new PropertiesMigrationReport();
		Map<String, List<PropertyMigration>> properties = getMatchingProperties(
				deprecatedFilter());
		if (properties.isEmpty()) {
			return report;
		}
		properties.forEach((name, candidates) -> {
			PropertySource<?> propertySource = mapPropertiesWithReplacement(report, name,
					candidates);
			if (propertySource != null) {
				this.environment.getPropertySources().addBefore(name, propertySource);
			}
		});
		return report;
	}
public PropertiesMigrationReport getReport ( ) { PropertiesMigrationReport report = new PropertiesMigrationReport ( ) ; Map < String , List < PropertyMigration > > properties = getMatchingProperties ( deprecatedFilter ( ) ) ; if ( properties . isEmpty ( ) ) { return report ; } properties . forEach ( ( name , candidates ) -> { PropertySource < ? > propertySource = mapPropertiesWithReplacement ( report , name , candidates ) ; if ( propertySource != null ) { this . environment . getPropertySources ( ) . addBefore ( name , propertySource ) ; } } ) ; return report ; }
Analyse the {@link ConfigurableEnvironment environment} and attempt to rename
legacy properties if a replacement exists.
@return a report of the migration