@Test public void customAstClassCantExistInNullDirectory() { File file = new File(outputDirectory, "FileWithCorrespondingCustomAstClass.java"); CompiledJavaccFile compiledJavaccFile = new CompiledJavaccFile(file, outputDirectory, customAstClassesDirectory, targetDirectory, logger); boolean customAstClassExists = compiledJavaccFile.customAstClassExists(null); assertFalse(customAstClassExists); }
public boolean customAstClassExists() { return customAstClassExists(customAstClassesDirectory); }
CompiledJavaccFile { public boolean customAstClassExists() { return customAstClassExists(customAstClassesDirectory); } }
CompiledJavaccFile { public boolean customAstClassExists() { return customAstClassExists(customAstClassesDirectory); } CompiledJavaccFile(File file, File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); }
CompiledJavaccFile { public boolean customAstClassExists() { return customAstClassExists(customAstClassesDirectory); } CompiledJavaccFile(File file, File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); boolean customAstClassExists(); boolean customAstClassExists(FileTree fileTree); void copyCompiledFileToTargetDirectory(); void copyCustomAstClassToTargetDirectory(FileTree sourceTree); void ignoreCompiledFileAndUseCustomAstClassFromJavaSourceTree(FileTree javaSourceTree); @Override String toString(); }
CompiledJavaccFile { public boolean customAstClassExists() { return customAstClassExists(customAstClassesDirectory); } CompiledJavaccFile(File file, File outputDirectory, FileTree customAstClassesDirectory, File targetDirectory, Logger logger); boolean customAstClassExists(); boolean customAstClassExists(FileTree fileTree); void copyCompiledFileToTargetDirectory(); void copyCustomAstClassToTargetDirectory(FileTree sourceTree); void ignoreCompiledFileAndUseCustomAstClassFromJavaSourceTree(FileTree javaSourceTree); @Override String toString();  }