Method Summary |
|
public void | addProcessor(ProcessorType processorType) Adds a new processor type to be instantiated and used by Spoon when
processing the code. |
public void | addSourceSet(FileSet set) Adds a source set. |
public void | addSpoonletSet(FileSet set) |
public void | addTemplateSet(FileSet set) Adds a template source set. |
public void | execute() Executes the task. |
public void | setBuild(File build) Sets the output directory for generated sources. |
public void | setClassName(String classname) Sets the name of the laucher to be used. |
public void | setCompile(boolean compile) Sets Spoon to be in verbose mode. |
public void | setDebug(boolean debug) Sets Spoon to be in debug mode. |
public void | setFragments(boolean fragments) Sets Spoon to use source code fragment driven generation technique
(preserves original formatting). |
public void | setInput(File input) Sets a file or a directory to be processed (no templates, see
SpoonTask.setTemplate(File) ). |
public void | setJavaCompliance(int javaCompliance) Sets the java14 property (to be able to parse java 1.4 source files). |
public void | setNoOutput(boolean nooutput) Tells Spoon not to generate any files. |
public void | setOutput(File output) Sets the output directory for generated sources. |
public void | setProperties(File properties) Sets the root directory where the processors' properties XML
configuration files are located. |
public void | setSpoonlet(File spoonlet) Sets a Spoolet to be deployed. |
public void | setStats(boolean stats) Enables/disable printing out statistics on Spoon execution time. |
public void | setTabSize(int tabSize) Sets the tabulation size (default is 4 spaces). |
public void | setTabs(boolean tabs) Sets Spoon to use tabulations instead of spaces when printing source. |
public void | setTemplate(File template) Sets a file or a directory to be processed (only templates, see
SpoonTask.setInput(File) ). |
public void | setVerbose(boolean verbose) Sets Spoon to be in verbose mode. |