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

Call Heirachy is wrong for interface methods #2771

Closed
gayanper opened this issue Jul 20, 2023 · 1 comment · Fixed by #2772
Closed

Call Heirachy is wrong for interface methods #2771

gayanper opened this issue Jul 20, 2023 · 1 comment · Fixed by #2772
Labels
Milestone

Comments

@gayanper
Copy link
Contributor

Take the following code

package com.example.demo;

import java.util.Optional;

public interface CallHError {
  Optional<String> name();
}

Now invoke call hierarchy on method name. I get the following results

image

But if I change the code as below

package com.example.demo;

import java.util.Optional;

public interface CallHError {
  public Optional<String> name();
}
@gayanper
Copy link
Contributor Author

This is not a upstream issue, in JDT core it works as expected.

gayanper added a commit to gayanper/eclipse.jdt.ls that referenced this issue Jul 20, 2023
gayanper added a commit to gayanper/eclipse.jdt.ls that referenced this issue Jul 21, 2023
gayanper added a commit to gayanper/eclipse.jdt.ls that referenced this issue Jul 21, 2023
gayanper added a commit to gayanper/eclipse.jdt.ls that referenced this issue Jul 22, 2023
@rgrunber rgrunber added this to the End July 2023 milestone Jul 26, 2023
@rgrunber rgrunber added the bug label Jul 26, 2023
@rgrunber rgrunber linked a pull request Jul 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants