| spoon.support.JavaOutputProcessor
JavaOutputProcessor | public class JavaOutputProcessor extends AbstractProcessor> implements FileGenerator<CtSimpleType<?>>(Code) | | A processor that generates compilable Java source files from the meta-model.
|
Constructor Summary | |
public | JavaOutputProcessor(File outputDirectory) Creates a new processor for generating Java source files. |
writePackageAnnotationFile | boolean writePackageAnnotationFile(Code) | | |
JavaOutputProcessor | public JavaOutputProcessor(File outputDirectory)(Code) | | Creates a new processor for generating Java source files.
Parameters: outputDirectory - the root output directory |
createJavaFile | public void createJavaFile(CtSimpleType> element)(Code) | | Creates the Java file associated to the given element.
|
getOutputDirectory | public File getOutputDirectory()(Code) | | |
process | public void process(CtSimpleType> type)(Code) | | Creates a source file for each processed top-level type and pretty prints
its contents.
|
setOutputDirectory | public void setOutputDirectory(File directory)(Code) | | |
|
|