|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.compiler.finalizers.DefaultFinalizer
public class DefaultFinalizer
This class is a refactoring of the JAXXCompiler.
JAXXObject to this class, the
JAXXCompiler now only deals with the compilation of files.
| Constructor Summary | |
|---|---|
DefaultFinalizer()
|
|
| Method Summary | |
|---|---|
protected void |
addEventHandlers(JAXXCompiler compiler,
JavaFile javaFile)
|
protected void |
addPropertyChangeSupport(CompiledObject root,
JavaFile javaFile)
|
protected JavaMethod |
createCompleteSetupMethod(JAXXCompiler compiler,
JavaFile javaFile,
java.lang.StringBuffer initDataBindings)
|
protected JavaMethod |
createConstructor(JAXXCompiler compiler,
java.lang.String className,
boolean superclassIsJAXXObject)
|
protected JavaMethod |
createConstructorWithInitialContext(JAXXCompiler compiler,
java.lang.String className,
boolean superclassIsJAXXObject)
|
JavaMethod |
createInitializer(JAXXCompiler compiler)
|
protected JavaField |
createJAXXObjectDescriptorField(JAXXCompiler compiler,
JavaFile javaFile)
|
protected JavaMethod |
createProcessDataBindingMethod(JAXXCompiler compiler,
boolean superclassIsJAXXObject)
|
protected void |
finalizeBindings(JAXXCompiler compiler,
boolean superclassIsJAXXObject)
|
void |
finalizeCompiler(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
Finalize compiler for a given compiler on the finalizer pass before any generation. |
void |
prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
Prepare java file after any compiler finalizer pass, says the last action before generation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
protected static final JavaField SERIAL_VERSION_UID_FIELD
protected static final JavaField ACTIVE_BINDINGS_FIELD
protected static final JavaField BINDING_SOURCES_FIELD
protected static final JavaField OBJECT_MAP_FIELD
protected static final JavaField ALL_COMPONENTS_CREATED_FIELD
protected static final JavaField CONTEXT_INITIALIZED
protected static final JavaField PREVIOUS_VALUES_FIELD
protected static final JavaField PROPERTY_CHANGE_SUPPORT_FIELD
protected static final JavaMethod GET_CONTEXT_VALUE_METHOD
protected static final JavaMethod GET_CONTEXT_VALUE_NAMED_METHOD
protected static final JavaMethod SET_CONTEXT_VALUE_NAMED_METHOD
protected static final JavaMethod SET_CONTEXT_VALUE_METHOD
protected static final JavaMethod REMOVE_CONTEXT_VALUE_NAMED_METHOD
protected static final JavaMethod REMOVE_CONTEXT_VALUE_METHOD
protected static final JavaMethod GET_PARENT_CONTAINER_MORE_METHOD
protected static final JavaMethod GET_PARENT_CONTAINER_METHOD
protected static final JavaMethod GET_OBJECT_BY_ID_METHOD
protected static final JavaMethod GET_JAXX_OBJECT_DESCRIPTOR_METHOD
protected static final JavaMethod PROCESS_DATA_BINDING_METHOD
protected static final JavaMethod FIRE_PROPERTY_CHANGE_METHOD
protected static final JavaMethod FIRE_PROPERTY_CHANGE_NAMED_METHOD
protected static final JavaMethod GET_PROPERTY_CHANGE_SUPPORT_METHOD
protected static final JavaMethod ADD_PROPERTY_CHANGE_SUPPORT_METHOD
protected static final JavaMethod ADD_PROPERTY_CHANGE_SUPPORT_NAMED_METHOD
protected static final JavaMethod REMOVE_PROPERTY_CHANGE_SUPPORT_METHOD
protected static final JavaMethod REMOVE_PROPERTY_CHANGE_SUPPORT_NAMED_METHOD
| Constructor Detail |
|---|
public DefaultFinalizer()
| Method Detail |
|---|
public void finalizeCompiler(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
JAXXCompilerFinalizer
finalizeCompiler in interface JAXXCompilerFinalizerroot - 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 generate
public void prepareJavaFile(CompiledObject root,
JAXXCompiler compiler,
JavaFile javaFile,
java.lang.String packageName,
java.lang.String className)
throws java.lang.ClassNotFoundException
JAXXCompilerFinalizer
prepareJavaFile in interface JAXXCompilerFinalizerroot - 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 generate
java.lang.ClassNotFoundException
protected void finalizeBindings(JAXXCompiler compiler,
boolean superclassIsJAXXObject)
protected JavaField createJAXXObjectDescriptorField(JAXXCompiler compiler,
JavaFile javaFile)
protected void addPropertyChangeSupport(CompiledObject root,
JavaFile javaFile)
protected void addEventHandlers(JAXXCompiler compiler,
JavaFile javaFile)
protected JavaMethod createConstructor(JAXXCompiler compiler,
java.lang.String className,
boolean superclassIsJAXXObject)
throws CompilerException
CompilerException
protected JavaMethod createConstructorWithInitialContext(JAXXCompiler compiler,
java.lang.String className,
boolean superclassIsJAXXObject)
throws CompilerException
CompilerException
public JavaMethod createInitializer(JAXXCompiler compiler)
throws CompilerException
CompilerException
protected JavaMethod createCompleteSetupMethod(JAXXCompiler compiler,
JavaFile javaFile,
java.lang.StringBuffer initDataBindings)
protected JavaMethod createProcessDataBindingMethod(JAXXCompiler compiler,
boolean superclassIsJAXXObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||