File sourceDirectory = new File(sourceDir);
File testDirectory = new File(testDir);
makeDirIfNotExist(sourceDirectory);
makeDirIfNotExist(testDirectory);
Iterator<File> fileItr = FileUtils.iterateFiles(sourceDirectory, new JavaFileFilter(), TrueFileFilter.INSTANCE);
while (fileItr.hasNext()) {
File javaFile = fileItr.next();
getLog().info("start process file:" + javaFile.getAbsolutePath());
//todo
//process java file