jaxx.compiler.finalizers
Class AbstractFinalizer
java.lang.Object
jaxx.compiler.finalizers.AbstractFinalizer
- All Implemented Interfaces:
- JAXXCompilerFinalizer
- Direct Known Subclasses:
- DefaultFinalizer, SwingFinalizer, ValidatorFinalizer
public abstract class AbstractFinalizer
- extends Object
- implements JAXXCompilerFinalizer
Base implementation of a JAXXCompilerFinalizer.
Contains commons methods and constants.
- Since:
- 2.4
- Author:
- tchemit
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFinalizer
public AbstractFinalizer()
addField
protected void addField(JavaFile file,
JavaField field)
- Clones the given
field and adds it to the file as a
property via the method JavaFile.addField(JavaField).
- Parameters:
file - the file where to add the cloned fieldfield - the field to clone- Since:
- 2.4
addSimpleField
protected void addSimpleField(JavaFile file,
JavaField field)
- Clones the given
method and adds it to the file as a
simple method using the method JavaFile.addMethod(JavaMethod).
- Parameters:
file - the file where to add the cloned fieldfield - the field to clone- Since:
- 2.4
addMethod
protected void addMethod(JavaFile file,
JavaMethod method,
String... types)
- Clones the given
field and adds it to the file as a
simple field using the method JavaFile.addSimpleField(JavaField).
- Parameters:
file - the file where to add the cloned methodmethod - the method to clonetypes - optional types to use to simplify the body of the method- Since:
- 2.4
Copyright © 2008-2011 CodeLutin. All Rights Reserved.