Package 

Class ConstructorCodeGenerator


  • 
    public final class ConstructorCodeGenerator<T extends Object>
    
                        

    This utility is used to generate the code need to construct an object. It is useful for printing out a MavericksState instance's constructor code when setting up a test for that state.

    It uses recursion to analyze the given object instance and generates code needed to construct another instance of the object containing the same data.