public interface ClassFieldManager
| Modifier and Type | Method and Description |
|---|---|
FieldRef |
addStaticField(String proposedName,
Expression initializer)
Adds a private static final field and returns a reference to it.
|
FieldRef addStaticField(String proposedName, Expression initializer)
proposedName - The proposed name. The actual name will be this plus an optional suffix to
ensure uniqueness.initializer - An expression to initialize the field.