infer project name from class name