anchor.diff:  	@Service
   	public class MyService {
   
  -		private final ConnectionProperties connection;
  +		private final FooProperties properties;
   
   		@Autowired
  -		public MyService(ConnectionProperties connection) {
  -		    this.connection = connection;
  +		public MyService(FooProperties properties) {
  +		    this.properties = properties;
   		}
   
   	 	//...
   
   		@PostConstruct
   		public void openConnection() {
  -			Server server = new Server();
  -			this.connection.configure(server);
  +			Server server = new Server(this.properties.getRemoteAddress());
  +			// ...
   		}
   
   	}
   ----
   
   TIP: Using `@ConfigurationProperties` also allows you to generate meta-data files that can
  -be used by IDEs. See the <<configuration-metadata>> appendix for details.
  +be used by IDEs to offer auto-completion for your own keys, see the
  +<<configuration-metadata>> appendix for details.
   
   
   
  
positive.code: [source,java,indent=0]
  ----
  	@Configuration
  	@EnableConfigurationProperties(ConnectionProperties.class)
  	public class MyConfiguration {
  	}
  ----
  
negative.code: 
  [source,java,indent=0]
  ----
  	@ConfigurationProperties(prefix = "bar")
  	@Bean
  	public BarComponent barComponent() {
  		...
  	}
  ----
  
  Any property defined with the `bar` prefix will be mapped onto that `BarComponent` bean
  in a similar manner as the `FooProperties` example above.
  
  
  
  