Get the class name of the report generator from a method for inheritance.