protected function fileToBuildPath($path){
        $configService = ServiceFactory::getInstance(AnnotationConfigServiceImpl::class);
        $list = $configService->getConfig()['scanNamespace'];
        foreach ($list as $namespace => $filePath){
            if ( strpos($path , $filePath) !== false){
                return str_replace($configService->getConfig()['appPath'] .'/' .  $filePath , $configService->getConfig()['buildPath'] . str_replace('\\' , '/' , $namespace) , $path);
            };
        }
        return '';
    }