|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.binding.classes.MungedClass
public class MungedClass
Modifiable class handler. Each instance controls changes to a particular class modified by one or more binding definitions. As methods are generated they're checked for uniqueness. If an already-generated method is found with the same characteristics (including byte code) as the one being generated, the already-generated is used instead.
| Method Summary | |
|---|---|
static void |
addModifiedClass(ClassFile cf)
Add class file to set modified. |
static void |
delayedAddUnique(ClassFile cf)
Add unique support class at end of binding process. |
static ClassFile[][] |
fixDispositions()
Finalize class name assignments and dispositions. |
static ClassFile |
getUniqueSupportClass(ClassFile cf)
Get unique generated support class. |
static void |
reset()
Discard cached information and reset in preparation for a new binding run. |
static void |
writeChanges()
Write all modified class files, and delete all obsolete class files from previous runs of the binding compiler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClassFile getUniqueSupportClass(ClassFile cf)
cf - generated class file
public static void delayedAddUnique(ClassFile cf)
fixDispositions() handling.
cf - class file to be added as unique support class at end of
bindingpublic static void addModifiedClass(ClassFile cf)
cf - public static ClassFile[][] fixDispositions()
public static void writeChanges()
throws JiBXException
JiBXException - on write errorpublic static void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||