parse class name by reflection