GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Group linkage error info in plugin

未关闭
#576 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement good first issue p3
主要语言
Java
星标
163
派生
80
PR 合并指标
30 天内没有已合并 PR

描述

Currently it looks something like this:

mockito-core-2.18.0.jar (2 errors):
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForReadObject
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForEquals
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$SerializableRealMethodCall
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForHashCode
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.get is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForReadObject
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.get is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForEquals
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.isMock is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForEquals
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.get is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$SerializableRealMethodCall
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.set is not found, referenced from org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher. is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.get is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.isMocked is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.isOverridden is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.handle is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.get is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForHashCode
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher.isMock is not found, referenced from org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForHashCode

1. We should organize this a little better when the same missing method is found with multiple sources. E.g.

mockito-core-2.18.0.jar (2 errors):
org.mockito.internal.creation.bytebuddy.MockMethodDispatcher is not found, referenced from
* org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForReadObject
* org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForEquals
* org.mockito.internal.creation.bytebuddy.MockMethodAdvice$SerializableRealMethodCall
* org.mockito.internal.creation.bytebuddy.InlineBytecodeGenerator
* org.mockito.internal.creation.bytebuddy.MockMethodAdvice
*org.mockito.internal.creation.bytebuddy.MockMethodAdvice$ForHashCode

2. Furthermore, when an entire class is not found, as here, we don't need to bother printing individual missing method and missing field errors from that class.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。