Reports incorrect schema beans defined in XML application contexts.


  <beans ... xmlns:util="https://www.springframework.org/schema/util">
    <bean class="MyBean" id="myBean"/>
    <bean class="ErrTypeBean" id="errTypeBean"/>
    <util:list list-class="java.lang.String"/> // reports "Class must be inheritor of 'java.util.List'"
    <util:set value-type="MyBean">
      <ref bean="fooBean"/>
      <ref bean="errTypeBean"/> // reports "Cannot be added in collection of 'MyBean' type"
    </util:set>
  </beans>