Open timo-abele opened 3 months ago
Thanks for calling that out! We could indeed look to see if there's any surrounding method invocation that requires a Guava type, or even look how the type is used through https://github.com/openrewrite/rewrite-analysis/ to limit when we make changes.
How are you running OpenRewrite?
I am using the Maven plugin, and my project is a single module project.
What is the Problem?
Example: in
Collections2.transform(someList, com.google.common.base.Function)
only the function is converted to a jdk equivalent. This breaks the build becausetransform
only accepts a guavaFunction
.Are you interested in contributing a fix to OpenRewrite?
No, sorry