protected void saveNewFunctionToFile(final String newFunctionClass) throws Exception {
        info("");
        info(SAVE_FILE);

        final File packageDir = getPackageDir();

        final File targetFile = getTargetFile(packageDir);

        createPackageDirIfNotExist(packageDir);

        saveToTargetFile(targetFile, newFunctionClass);

        info(SAVE_FILE_DONE + targetFile.getAbsolutePath());
    }
protected void saveNewFunctionToFile ( final String newFunctionClass ) throws Exception { info ( "" ) ; info ( SAVE_FILE ) ; final File packageDir = getPackageDir ( ) ; final File targetFile = getTargetFile ( packageDir ) ; createPackageDirIfNotExist ( packageDir ) ; saveToTargetFile ( targetFile , newFunctionClass ) ; info ( SAVE_FILE_DONE + targetFile . getAbsolutePath ( ) ) ; }
region Save function to file