Consider the following:
package p;
public @interface A {}
"A" shows as unresolved -- error states "class A is not an annotation in @A". However the hover popup for the error does not offer the quick fix to import "p.A". An unresolved class in the return type or parameters (or elsewhere) has this quick fix available from the hover popup.
Consider the following:
"A" shows as unresolved -- error states "class
Ais not an annotation in@A". However the hover popup for the error does not offer the quick fix to import "p.A". An unresolved class in the return type or parameters (or elsewhere) has this quick fix available from the hover popup.