| Modifier and Type | Method and Description |
|---|---|
| public void | markAsInitializedBy(ConstructorDeclaration
a constructor that initializes this field constructorDeclaration)Indicate that this field is properly initialized by the given constructor. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setConstantValueAsString(String
the constant value, must not be value)nullsets the 'constant' value of this field. |
| public void | |
| public void | |
| public void | setInitializer(CompilationStrategy
the compilation strategy, must not be initializer)nullsets the 'initializer' expression of this field declaration. |
| public void | setInitializer(StringConcatenationClient
the compilation template, must not be template)nullsets the 'initializer' expression of this field declaration. |
| public void | |
| public void | |
| public void | |
| public void |
| markAsInitializedBy | back to summary |
|---|---|
| public void markAsInitializedBy(ConstructorDeclaration constructorDeclaration) Indicate that this field is properly initialized by the given constructor.
| |
| setConstantValueAsBoolean | back to summary |
|---|---|
| public void setConstantValueAsBoolean(boolean value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsByte | back to summary |
|---|---|
| public void setConstantValueAsByte(byte value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsChar | back to summary |
|---|---|
| public void setConstantValueAsChar(char value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsDouble | back to summary |
|---|---|
| public void setConstantValueAsDouble(double value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsFloat | back to summary |
|---|---|
| public void setConstantValueAsFloat(float value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsInt | back to summary |
|---|---|
| public void setConstantValueAsInt(int value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsLong | back to summary |
|---|---|
| public void setConstantValueAsLong(long value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsShort | back to summary |
|---|---|
| public void setConstantValueAsShort(short value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setConstantValueAsString | back to summary |
|---|---|
| public void setConstantValueAsString(String value) sets the 'constant' value of this field. Automatically detaches any previously assigned initializers from this field declaration. Also marks this field as 'static' and 'final'
| |
| setFinal | back to summary |
|---|---|
| public void setFinal(boolean isFinal) sets the 'final' property | |
| setInitializer | back to summary |
|---|---|
| public void setInitializer(Expression initializer) sets the 'initializer' expression of this field declaration.
Automatically detaches any previously assigned initializers from this field declaration.
If the given expression is assigned to another | |
| setInitializer | back to summary |
|---|---|
| public void setInitializer(CompilationStrategy initializer) sets the 'initializer' expression of this field declaration.
Automatically detaches any previously assigned initializers from this field declaration.
The given
| |
| setInitializer | back to summary |
|---|---|
| public void setInitializer(StringConcatenationClient template) sets the 'initializer' expression of this field declaration.
Automatically detaches any previously assigned initializers from this field declaration.
The given
| |
| setStatic | back to summary |
|---|---|
| public void setStatic(boolean isStatic) sets the 'static' property | |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean isTransient) sets the 'transient' property | |
| setType | back to summary |
|---|---|
| public void setType(TypeReference type) sets the 'type' of this field declaration
| |
| setVolatile | back to summary |
|---|---|
| public void setVolatile(boolean isVolatile) sets the 'volatile' property | |