Catadioptre is a lightweight library to work with private members in Kotlin and Java using reflection.
With Catadioptre, you can:
- read or write private and protected properties / fields,
- execute private and protected functions / methods,
- generate "proxy" methods at compilation-time to easily access to the private members in your tests.
Catadioptre supports variable arguments in Java and Kotlin as well as optional and named arguments as well as suspend
functions in Kotlin.
We encourage you to read the official documentation to better understand the challenges that Catadioptre solves and how it helps you to do it.