spotify / missinglink

Build time tool for detecting link problems in java projects
Apache License 2.0
146 stars 27 forks source link

False positive: static method is defined in superclass or outer class #39

Open pettermahlen opened 9 years ago

pettermahlen commented 9 years ago

Examples:

[WARNING]   In artifact: com.google.guava:guava:18.0
[WARNING]     In class: com.google.common.collect.AbstractListMultimap
[WARNING]       In method:  asMap():110
[WARNING]       Call to: com.google.common.collect.AbstractMapBasedMultimap.asMap()
[WARNING]       Problem: Method not found: com.google.common.collect.AbstractMapBasedMultimap.asMap()
[WARNING]       Found in: com.google.guava:guava:18.0
[WARNING]     In class: com.typesafe.config.impl.ConfigDelayedMerge
[WARNING]       In method:  render(java.util.List, java.lang.StringBuilder, int, boolean, java.lang.String, com.typesafe.config.ConfigRenderOptions):232
[WARNING]       Call to: com.typesafe.config.impl.ConfigDelayedMerge.indent(java.lang.StringBuilder, int, com.typesafe.config.ConfigRenderOptions)
[WARNING]       Problem: Method not found: com.typesafe.config.impl.ConfigDelayedMerge.indent(java.lang.StringBuilder, int, com.typesafe.config.ConfigRenderOptions)
[WARNING]       Found in: com.typesafe:config:1.2.1
[WARNING]   In artifact: com.typesafe:config:1.2.1
[WARNING]     In class: com.typesafe.config.impl.Parseable$ParseableURL
[WARNING]       In method:  reader():435
[WARNING]       Call to: com.typesafe.config.impl.Parseable$ParseableURL.trace(java.lang.String)
[WARNING]       Problem: Method not found: com.typesafe.config.impl.Parseable$ParseableURL.trace(java.lang.String)
[WARNING]       Found in: com.typesafe:config:1.2.1

This may have been introduced with the static method checks.