redhat-developer / redhat-developer/vscode-java
Method-reference style implementations of an interface are not found by "Find All Implementations"
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
As the title says, "Find All References" does not enumerate method reference style lambdas as implementations.
Minimal repro (see attached image for "0 implementations" code lens).
package com.example;
public class Repro {
public interface MyInterface {
boolean call(int arg1);
}
private boolean call(int arg1) {
return arg1 > 0;
}
public boolean run() {
MyInterface myInterface = this::call;
return myInterface.call(5);
}
}
VSC:
Version: 1.102.3 (Universal)
Commit: 488a1f239235055e34e673291fb8d8c810886f81
Date: 2025-07-29T03:00:23.339Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.6.0
Redhat extension:
Identifier
redhat.java
Version
1.44.0
Last Updated
2025-07-31, 17:57:17
JVM:
21.0.8 (arm64) "Amazon.com Inc." - "Amazon Corretto 21" /Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Java スニペットを再現し、報告されている VS Code と Red Hat Java 拡張機能のバージョンで Find All Implementations の結果と code lens を確認します。メソッド参照形式のラムダに対する実装および参照の処理を追跡します。インターフェースの実装が見つかり、対応する code lens がゼロとして表示されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- developer-experience, devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100