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.
| Modifier and Type | Field and Description |
|---|---|
| private final FieldRenderer |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public FieldOutline | generate(ClassOutlineImpl outline, CPropertyInfo prop)
Implements com. Generates accesssors and fields for the given implementation
class, then return |
| fallback | back to summary |
|---|---|
| private final FieldRenderer fallback | |
| ConstFieldRenderer | back to summary |
|---|---|
| protected ConstFieldRenderer(FieldRenderer fallback) | |
| generate | back to summary |
|---|---|
| public FieldOutline generate(ClassOutlineImpl outline, CPropertyInfo prop) Implements com. Doc from com. Generates accesssors and fields for the given implementation
class, then return
| |