Allow MappingGenerator to keep the same name for method bridges
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
まず MappingGenerator と NameGenerator を追跡し、次にモデル例で bridge メソッドとメソッドシグネチャがどのように表現されているかを調べます。一般的な「メソッドがこのメソッドへの bridge である」という関係をどのように追跡すべきかを判断し、マッピングされた bridge メソッドが実際のメソッドの名前を保持しながら親のシグネチャを使用していることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Rough idea given the following model:
abstract class Base<T extends Foo> {
abstract void accept(T input);
}
class Impl extends Base<FooImpl> {
void accept(FooImpl input); // becomes bridge to method with signature from parent xlass
// void accept(Foo input); // Method implementation goes here in actuality
}
Currently the mapping generator will see the two methods in Impl as having different signatures and will thus allow the passed NameGenerator to create unique names for each. For keeping things pretty in the decompiler output, it would be nice if we could have these bridge methods share the same name as the real method taking on the parent method's signature.
I think having a generic system to track "this method is a bridge to this method" would be nice, which once completed could be plugged into the MappingGenerator code with ease.
- 主要言語
- Java
- スター
- 7.5k
- フォーク
- 549
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Col-E/Recaf のほかの issue
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteオープン3rd party problem bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
Bug feat:Syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ignatov/intellij-erlang#1342 ·
メンテナーはふだん 1 日以内に返信
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on Windows対応中かも @NassimBtk が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MetricsHub/metricshub-community#1636 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] no hint/error message for max picture size対応中かも @flahamue が今日担当しました。 オープンType: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
it-at-m/raumreservierung#439 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
citrusframework/citrus#2044 ·
メンテナーはふだん 1 日以内に返信