Skip to content

Commit dfdc2d0

Browse files
committed
Expand PowerMockWhiteboxToJavaReflection to cover more Whitebox APIs
Adds migration of getField, getMethod, invokeConstructor, static invokeMethod(Class,..), the where-Class get/setInternalState overloads, and non-literal field/method names, alongside the existing setInternalState/getInternalState/invokeMethod support. Primitive results are cast through their wrapper type, and the explicit Class[]/varargs-array overloads of invokeMethod/invokeConstructor are deliberately left untouched (no faithful mechanical translation).
1 parent 5b719c2 commit dfdc2d0

3 files changed

Lines changed: 1349 additions & 107 deletions

File tree

0 commit comments

Comments
 (0)