public static final class Java.ArrayInitializer extends Java.Located implements Java.ArrayInitializerOrRvalue
Allocates an array and initializes its members with (not necessarily constant) values.
| Modifier and Type | Field and Description |
|---|---|
Java.ArrayInitializerOrRvalue[] |
values
The values to assign to the array elements.
|
NOWHERE| Constructor and Description |
|---|
ArrayInitializer(Location location,
Java.ArrayInitializerOrRvalue[] values) |
| Modifier and Type | Method and Description |
|---|---|
void |
setEnclosingScope(Java.Scope s)
Sets the immediately enclosing scope for this array initializer or rvalue.
|
String |
toString() |
getLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.ArrayInitializerOrRvalue[] values
public ArrayInitializer(Location location, Java.ArrayInitializerOrRvalue[] values)
public void setEnclosingScope(Java.Scope s)
Java.ArrayInitializerOrRvaluesetEnclosingScope in interface Java.ArrayInitializerOrRvalue