public static final class Java.ElementValueArrayInitializer extends Java.Located implements Java.ElementValue
SuppressWarnings({ "null", "unchecked"
})'.| Modifier and Type | Field and Description |
|---|---|
Java.ElementValue[] |
elementValues
The element values in the body of the array initializer.
|
NOWHERE| Constructor and Description |
|---|
ElementValueArrayInitializer(Java.ElementValue[] elementValues,
Location location) |
| Modifier and Type | Method and Description |
|---|---|
<R,EX extends Throwable> |
accept(Visitor.ElementValueVisitor<R,EX> visitor)
Invokes the '
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
setEnclosingScope(Java.Scope scope)
In most cases, the scope is the enclosing
Java.BlockStatement, except for top-level class/interface
annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit. |
String |
toString() |
getLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.ElementValue[] elementValues
public ElementValueArrayInitializer(Java.ElementValue[] elementValues, Location location)
public void setEnclosingScope(Java.Scope scope)
Java.ElementValueJava.BlockStatement, except for top-level class/interface
annotation class-literal element-value-pairs, where the enclosing scope is the compilation unit.setEnclosingScope in interface Java.ElementValue@Nullable public <R,EX extends Throwable> R accept(Visitor.ElementValueVisitor<R,EX> visitor) throws EX extends Throwable
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.accept in interface Java.ElementValueEX extends Throwable