GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
Can polymorphism help to group LinkageProblems?
- Vorherrschende Sprache
- Java
- Sterne
- 163
- Forks
- 80
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
(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?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.