org.codehaus.janino
Class Java.ArrayType
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Type
org.codehaus.janino.Java.ArrayType
- All Implemented Interfaces:
- Java.Locatable, Java.TypeArgument
- Enclosing class:
- Java
public static final class Java.ArrayType
- extends Java.Type
- implements Java.TypeArgument
Representation of a JLS7 10.1 'array type'.
componentType
public final Java.Type componentType
- The (declared) type of the array's components.
Java.ArrayType
public Java.ArrayType(Java.Type componentType)
setEnclosingScope
public void setEnclosingScope(Java.Scope enclosingScope)
- Description copied from class:
Java.Type
- Sets the enclosing scope for this object and all subordinate
Java.Type objects.
- Overrides:
setEnclosingScope in class Java.Type
toString
public String toString()
- Specified by:
toString in class Java.Atom
accept
public void accept(Visitor.AtomVisitor visitor)
- Description copied from class:
Java.Atom
- Invokes the '
visit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type.
- Specified by:
accept in class Java.Atom
accept
public void accept(Visitor.TypeVisitor visitor)
- Description copied from class:
Java.Type
- Invokes the '
visit...()' method of Visitor.TypeVisitor for the concrete Java.Type type.
- Specified by:
accept in class Java.Type
accept
public void accept(Visitor.TypeArgumentVisitor visitor)
- Description copied from interface:
Java.TypeArgument
- Invokes the '
visit...()' method of Visitor.TypeArgumentVisitor for the concrete Java.TypeArgument type.
- Specified by:
accept in interface Java.TypeArgument