GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Can polymorphism help to group LinkageProblems?

オープン
#1,618 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
p3 Tech Debt
主要言語
Java
スター
163
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

(followup of https://github.com/GoogleCloudPlatform/cloud-opensource-java/pull/1604#discussion_r475624772 )

When printing `LinkageProblem`s, grouping them by the target of invalid symbolic references makes the output concise (compared to printing individual instances).

```
(Target Class X) having problem XXX. referenced by
(Source Class A)
(Source Class B)
```

However this format does not work with `AbstractMethodProblem`. As of now, we separate `AbstractMethodProblem` from other problems (using `instanceof`) and print them individually.

Can polymorphism help the grouping LinkageProblems in a better way?

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

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

評価

この issue はまだ評価されていません。

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

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