fmodesto
fmodesto
## What version of OpenRewrite are you using? Latest 3.4.0 ## What is the smallest, simplest way to reproduce the problem? ```java @Test public void useVarBug() { rewriteRun( spec ->...
## What's changed? Modified `UsesMethod` to track the actual invocation target type, rather than just the method's declaring type. ### Example Case: ```java class A { public void foo() {}...
First test pass, second test fails. The only difference I can see is `Map.keySet()` returns the `Set` interface and `ImmutableMap.keySet()` returns an `ImmutableSet`. ```java @Test void usesMethodDeepHierarchy() { rewriteRun( spec...