jaxx.compiler.tasks
Class GenerateTask
java.lang.Object
jaxx.compiler.tasks.JAXXEngineTask
jaxx.compiler.tasks.GenerateTask
public class GenerateTask
- extends JAXXEngineTask
Last task to generate java files.
- Since:
- 2.0.2
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK_NAME
public static final String TASK_NAME
- Task name
- See Also:
- Constant Field Values
GenerateTask
public GenerateTask()
perform
public boolean perform(JAXXEngine engine)
throws Exception
- Description copied from class:
JAXXEngineTask
- Performs the task on the given
engine.
- Specified by:
perform in class JAXXEngineTask
- Parameters:
engine - the engine to use
- Returns:
false if task failed (with no exception), true otherwise.
- Throws:
Exception - if any error
consumeCompiler
public void consumeCompiler(JAXXCompiler compiler,
JavaFileGenerator generator)
throws IOException
- Throws:
IOException
optimizeImports
public List<String> optimizeImports(JavaFile f,
String packageName,
boolean needSwingUtil)
optimizeConstructorParameters
protected void optimizeConstructorParameters(JavaFile f,
org.nuiton.eugene.java.extension.ImportsManager importsManager)
Copyright © 2008-2011 CodeLutin. All Rights Reserved.