public static final class Java.ArrayType extends Java.Type implements Java.TypeArgument
Modifier and Type | Field and Description |
---|---|
Java.Type |
componentType
The (declared) type of the array's components.
|
NOWHERE
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor)
|
void |
accept(Visitor.TypeArgumentVisitor visitor)
Invokes the '
visit...() ' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type. |
void |
accept(Visitor.TypeVisitor visitor)
|
void |
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this object and all subordinate
Java.Type objects. |
String |
toString() |
getEnclosingScope, toType
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileException
getLocation, throwCompileException
public final Java.Type componentType
public ArrayType(Java.Type componentType)
public void setEnclosingScope(Java.Scope enclosingScope)
Java.Type
Java.Type
objects.setEnclosingScope
in class Java.Type
public void accept(Visitor.AtomVisitor visitor)
Java.Atom
public void accept(Visitor.TypeVisitor visitor)
Java.Type
public void accept(Visitor.TypeArgumentVisitor visitor)
Java.TypeArgument
visit...()
' method of Visitor.TypeArgumentVisitor
for the concrete Java.TypeArgument
type.accept
in interface Java.TypeArgument
Copyright © 2001–2016. All rights reserved.