redhat-developer / redhat-developer/vscode-java

Inline methods cause compilation errors

オープン
#3,709 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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
  1. selecting 'makeSound'
  2. 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

image

Current Result :

image

Expected Result : Check during the execution of the introverted method and give a warning if this occurs

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。