GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Can polymorphism help to group LinkageProblems?

Abierto
#1,618 0 comentarios 0 reacciones 0 asignados Ver en GitHub
p3 Tech Debt
Lenguaje dominante
Java
Estrellas
163
Forks
80
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

(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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.