public abstract class AbstractFinalizer extends Object implements JAXXCompilerFinalizer
JAXXCompilerFinalizer.
Contains commons methods and constants.TYPE_BOOLEAN, TYPE_OBJECT, TYPE_STRING, TYPE_VOID| Constructor and Description |
|---|
AbstractFinalizer() |
| Modifier and Type | Method and Description |
|---|---|
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). |
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). |
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). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, finalizeCompiler, prepareJavaFileprotected void addField(JavaFile file, JavaField field)
field and adds it to the file as a
property via the method JavaFile.addField(JavaField).file - the file where to add the cloned fieldfield - the field to cloneprotected void addSimpleField(JavaFile file, JavaField field)
method and adds it to the file as a
simple method using the method JavaFile.addMethod(JavaMethod).file - the file where to add the cloned fieldfield - the field to cloneprotected void addMethod(JavaFile file, JavaMethod method, String... types)
field and adds it to the file as a
simple field using the method JavaFile.addSimpleField(JavaField).file - the file where to add the cloned methodmethod - the method to clonetypes - optional types to use to simplify the body of the methodCopyright © 2008–2019 Ultreia.io. All rights reserved.