Reports incorrect bean references in the value parameter of the @Lookup annotation.

Example:


  @Component public class FooBean {...}
  @Component public class OtherBean {...}

  @Component public class MyComponent {
  @Lookup("fooBean")
  public FooBean fooBean() {...}

  @Lookup("fooBean") // reports "Bean must be of 'OtherBean' type"
  public OtherBean otherBean() {...}

  @Lookup("unknown") // reports "Cannot resolve bean 'unknown'"
  public OtherBean fooBean() {...}
  }