Replace PowerMock Whitebox.getInnerClassType() with Class.forName()

MSAL

Replace 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.PowerMockWhiteboxGetInnerClassTypeToJavaReflection
mod run . --recipe=org.openrewrite.java.testing.mockito.PowerMockWhiteboxGetInnerClassTypeToJavaReflection

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.