What version of OpenRewrite are you using?
I am using 3.0.0
- OpenRewrite v6.0.0
- Maven/Gradle plugin v1.2.3
- rewrite-module v3.0.0
How are you running OpenRewrite?
not relevant
What is the smallest, simplest way to reproduce the problem?
import java.util.Map;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
class Test {
void test() {
assertThat(Map.of("a", 1).entrySet()).hasNoNullFieldsOrProperties();
}
}
What did you expect to see?
import java.util.Map;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
class Test {
void test() {
assertThat(Map.of("a", 1).entrySet()).hasNoNullFieldsOrProperties();
}
}
What did you see instead?
import java.util.Map;
import static org.assertj.core.api.Assertions.assertThat;
class Test {
void test() {
assertThat(Map.of("a", 1).entrySet()).hasNoNullFieldsOrProperties();
}
}
Code does not compile anymore after this change.
What is the full stack trace of any errors you encountered?
yes
What version of OpenRewrite are you using?
I am using 3.0.0
How are you running OpenRewrite?
not relevant
What is the smallest, simplest way to reproduce the problem?
What did you expect to see?
What did you see instead?
Code does not compile anymore after this change.
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
yes