redhat-developer / redhat-developer/vscode-java
Inline methods cause compilation errors
オープン
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
[provide a description of the issue]
Environment
Operating System: Windows11
JDK version: 17
Visual Studio Code version: 1.88
Java extension version: 1.29
Steps To Reproduce
- selecting 'makeSound'
- perform inlining method refactoring
Because the inline method is the method that implements the interface, when the inline method refactoring is performed, there is no method that implements the interface, resulting in a compilation error
Current Result :
Expected Result : Check during the execution of the introverted method and give a warning if this occurs
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Windows 11、JDK 17、VS Code 1.88、Java 拡張機能 1.29 を使用し、makeSound を選択してインラインメソッドリファクタリングを実行することで、問題を再現します。インラインメソッドリファクタリングのエントリポイントから調査を開始し、インターフェースの実装がどのように処理されるかを確認します。インライン化によって実装が削除され、コンパイルエラーが発生する場合に操作が警告すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript, vscode
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100