|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.generator.bean.field.ConstFieldRenderer
final class ConstFieldRenderer
FieldRenderer for possibly constant field.
Since we don't know if the constant can be actually generated until we get to the codemodel building phase, this renderer lazily determines if it wants to generate a constant field or a normal property.
| Constructor Summary | |
|---|---|
protected |
ConstFieldRenderer(FieldRenderer fallback)
|
| Method Summary | |
|---|---|
FieldOutline |
generate(ClassOutlineImpl outline,
CPropertyInfo prop)
Generates accesssors and fields for the given implementation class, then return FieldOutline for accessing
the generated field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ConstFieldRenderer(FieldRenderer fallback)
| Method Detail |
|---|
public FieldOutline generate(ClassOutlineImpl outline,
CPropertyInfo prop)
FieldRendererFieldOutline for accessing
the generated field.
generate in interface FieldRenderer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||