You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ClassCastException: class org.openrewrite.java.tree.J$Identifier cannot be cast to class org.openrewrite.java.tree.J$MethodInvocation (org.openrewrite.java.tree.J$Identifier and org.openrewrite.java.tree.J$MethodInvocation are in unnamed module of loader 'app')
org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertion$SimplifyChainedAssertJAssertionsVisitor.visitMethodInvocation(SimplifyChainedAssertJAssertion.java:105)
org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertion$SimplifyChainedAssertJAssertionsVisitor.visitMethodInvocation(SimplifyChainedAssertJAssertion.java:90)
org.openrewrite.java.tree.J$MethodInvocation.acceptJava(J.java:3932)
org.openrewrite.java.tree.J.accept(J.java:59)
org.openrewrite.TreeVisitor.visit(TreeVisitor.java:283)
org.openrewrite.TreeVisitor.visitAndCast(TreeVisitor.java:366)
org.openrewrite.java.JavaVisitor.visitTypeCast(JavaVisitor.java:1229)
org.openrewrite.java.JavaIsoVisitor.visitTypeCast(JavaIsoVisitor.java:320)
org.openrewrite.java.JavaIsoVisitor.visitTypeCast(JavaIsoVisitor.java:30)
org.openrewrite.java.tree.J$TypeCast.acceptJava(J.java:5470)
org.openrewrite.java.tree.J.accept(J.java:59)
org.openrewrite.TreeVisitor.visit(TreeVisitor.java:283)
org.openrewrite.TreeVisitor.visitAndCast(TreeVisitor.java:366)
org.openrewrite.java.JavaVisitor.visitReturn(JavaVisitor.java:1102)
org.openrewrite.java.JavaIsoVisitor.visitReturn(JavaIsoVisitor.java:280)
org.openrewrite.java.JavaIsoVisitor.visitReturn(JavaIsoVisitor.java:30)
...
Problem
Expected behavior
Example diff
From:
core/src/testFixtures/java/org/assertj/core/api/IdListAssert.java
Recipes in example diff:
org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertion
Error messages:
References:
org.openrewrite.java.testing.assertj.SimplifyChainedAssertJAssertion
Simplify AssertJ chained assertions
jobrunr/jobrunr/master
The text was updated successfully, but these errors were encountered: