Innovation Award
 September 2009
Number 5 |
When you want to perform a tests that verify whether a given class works as expected, you may need to call functions or access variables that are private or protected.
That circumstance raises a difficulty because you can only access private and protected members from inside the same class.
This class provides a workaround that consists in creating a clone of the original class which has all private and protected variables and functions made public.
This way it becomes possible to access all class members for testing purposes.
Manuel Lemos |
This class can be used to create object of a class in order to access private and protected variables and functions of another class.
It uses reflection to create a copy of the declaration of a given class and changes it to turn private and protected variables and functions.
The class can create an object of the original class copy.
| There are not enough user ratings to display for this class. |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.