| Modifier and Type | Class and Description |
|---|---|
| protected abstract class |
| Modifier and Type | Field and Description |
|---|---|
| private JFieldVar | field
Field declaration of the actual list object that we use to store data. |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractFieldWithVar(ClassOutlineImpl outline, CPropertyInfo prop)
Invoke |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| protected abstract JType | |
| protected String | |
| public final JType | getRawType()
Implements com. Gets the type of the "raw value". |
| protected JFieldVar |
| field | back to summary |
|---|---|
| private JFieldVar field Field declaration of the actual list object that we use to store data. | |
| AbstractFieldWithVar | back to summary |
|---|---|
| pack-priv AbstractFieldWithVar(ClassOutlineImpl outline, CPropertyInfo prop) Invoke | |
| createField | back to summary |
|---|---|
| protected final void createField() | |
| getFieldType | back to summary |
|---|---|
| protected abstract JType getFieldType() Returns the type used to store the value of the field in memory. | |
| getGetterMethod | back to summary |
|---|---|
| protected String getGetterMethod() Gets the name of the getter method.
This encapsulation is necessary because sometimes we use
| |
| getRawType | back to summary |
|---|---|
| public final JType getRawType() Implements com. Doc from com. Gets the type of the "raw value". This type can represent the entire value of this field. For fields that can carry multiple values, this is an array. This type allows the client of the outline to generate code to set/get values from a property.
| |
| ref | back to summary |
|---|---|
| protected JFieldVar ref() | |
| Modifier and Type | Field and Description |
|---|---|
| protected final JFieldRef | $ref
Reference to the field bound by the target object. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final void | fromRawValue(JBlock block, String uniqueName, JExpression $var)
Implements com. Sets the value of the field from the specified expression. |
| public final void | toRawValue(JBlock block, JVar $var)
Implements com. Dumps everything in this field into the given variable. |
| $ref | back to summary |
|---|---|
| protected final JFieldRef $ref Reference to the field bound by the target object. | |
| Accessor | back to summary |
|---|---|
| protected Accessor(JExpression $target) | |
| fromRawValue | back to summary |
|---|---|
| public final void fromRawValue(JBlock block, String uniqueName, JExpression $var) Implements com. Doc from com. Sets the value of the field from the specified expression. This generates code that accesses the field from outside.
| |
| toRawValue | back to summary |
|---|---|
| public final void toRawValue(JBlock block, JVar $var) Implements com. Doc from com. Dumps everything in this field into the given variable. This generates code that accesses the field from outside.
| |