Class responsible for generating mapping function for data classes.
Generates a mapping function for the given class declaration.