Replace PowerMock Whitebox.getInnerClassType() with Class.forName()
MSALReplace Whitebox.getInnerClassType(Class, String) with Class.forName() of the binary name of the inner class, which is its declaring class' name and its own, joined by a $.
org. openrewrite. java. testing. mockito. PowerMockWhiteboxGetInnerClassTypeToJavaReflectionmod run . --recipe= org. openrewrite. java. testing. mockito. PowerMockWhiteboxGetInnerClassTypeToJavaReflectionInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.