Skip to content

Commit 4ad8941

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 4ad8941

3 files changed

Lines changed: 1339 additions & 103 deletions

File tree

0 commit comments

Comments
 (0)