Skip to content

Import Type quick fix for unresolved annotation #1546

@eric-milles

Description

@eric-milles

Consider the following:

class C {
  @A m() {}
}
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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions