redhat-developer / redhat-developer/vscode-java
Bug: Rename method refactoring causes a normal method in a subclass to be converted to a method in an inherited parent class
まだ誰も着手していません。
- 主要言語
- 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
- select 'methodToRename' in ParentClass
- Renam 'methodToRename' to 'newMethod'
When the method name in the parent class is the same as the method name in the subclass, the method behavior in the subclass changes, and the method is an ordinary method before the refactoring, and is represented as an inherited method in the parent class after the refactoring.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Windows 11、JDK 17、VS Code 1.88 の記載された環境を使用し、メソッド名を共有する ParentClass と subclass を用いて、Java extension の rename リファクタリングを再現します。parent のメソッドをリネームしても、subclass のメソッドが通常のメソッドから継承メソッドに変わらないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, typescript
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100