public interface JAXXCompilerFinalizer
JAXXCompiler before the
generation pass.| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_BOOLEAN |
static String |
TYPE_OBJECT |
static String |
TYPE_STRING |
static String |
TYPE_VOID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(JAXXCompiler compiler)
Test if the finalizer must be apply on the given
compiler. |
void |
finalizeCompiler(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
Finalize compiler for a given compiler on the finalizer pass before any
generation.
|
void |
prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
String packageName,
String className)
Prepare java file after any compiler finalizer pass, says the last
action before generation.
|
static final String TYPE_STRING
static final String TYPE_VOID
static final String TYPE_BOOLEAN
static final String TYPE_OBJECT
boolean accept(JAXXCompiler compiler)
compiler.compiler - the compilertrue if the finalizer must be apply of compilervoid finalizeCompiler(CompiledObject root, JAXXCompiler compiler, JavaFile javaFile, String packageName, String className) throws Exception
root - the root objectcompiler - the current compilerjavaFile - the java file to generatepackageName - the package name of the file to generateclassName - the class name of the file to generateException - if any pbvoid prepareJavaFile(CompiledObject root, JAXXCompiler compiler, JavaFile javaFile, String packageName, String className) throws Exception
root - the root objectcompiler - the current compilerjavaFile - the java file to generatepackageName - the package name of the file to generateclassName - the class name of the file to generateException - if any pbCopyright © 2008–2017 Ultreia.io. All rights reserved.