Reports inconsistent <filter> definitions in <component-scan> of XML application contexts.

Example:


  public class NonAnnotationTypeClass {}

  <beans>
    <ctx:component-scan base-package="com.my.company">
      <ctx:exclude-filter expression="com.my.company.anno.NonAnnotationTypeClass" type="annotation"/>
    </ctx:component-scan>
  </beans>

In this example, NonAnnotationTypeClass is expected to be an annotation type.