Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code assist does not add necessary qualifier for use of inner type in type annotation #478

Closed
eric-milles opened this issue Feb 15, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Feb 15, 2018

Similar to #365

@a.B(In|)
class C {
  static class Inner {}
}
package a;
import java.lang.annotation.*;
@Target(ElementType.TYPE)
public @interface B {
  Class<?> value();
}

Completion at '|' completes as Inner when C.Inner is required due to the scope of the type annotation.

@eric-milles
Copy link
Member Author

Required changes to proposal have been made. The qualifier is added when the type is not the main type of a source file. When it is, the same issue exists for Java and has been submitted as: https://bugs.eclipse.org/bugs/show_bug.cgi?id=535948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant