Reports incorrect types of custom schema bean injections defined in the XML application context.

Example:


  public class SimpleBean{}

  <beans ...>
    <bean class="SimpleBean" id="simpleBean"/>
       <mvc:annotation-driven
         conversion-service="simpleBean"      <!-- reports "Bean must be of 'org.springframework.core.convert.ConversionService' type" -->
         message-codes-resolver="simpleBean"  <!-- reports 'Bean must be of org.springframework.validation.MessageCodesResolver' type" -->
         validator="simpleBean"               <!-- reports "Bean must be of 'org.springframework.validation.Validator' type" -->
    />
  </beans>