Web Site

org.codehaus.janino
Class Java.ArrayType

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Atom
          extended byorg.codehaus.janino.Java.Type
              extended byorg.codehaus.janino.Java.ArrayType
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static final class Java.ArrayType
extends Java.Type

Representation of a JavaTM array type (JLS 10.1).


Constructor Summary
Java.ArrayType(Java.Type componentType)
           
 
Method Summary
 Java.Type getComponentType()
           
 String toString()
           
 void visit(org.codehaus.janino.Visitor.AtomVisitor visitor)
           
 void visit(org.codehaus.janino.Visitor.TypeVisitor visitor)
           
 
Methods inherited from class org.codehaus.janino.Java.Type
toType
 
Methods inherited from class org.codehaus.janino.Java.Atom
getLocation, throwParseException, toLvalue, toLvalueOrPE, toRvalue, toRvalueOrPE, toTypeOrPE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Java.ArrayType

public Java.ArrayType(Java.Type componentType)
Method Detail

getComponentType

public Java.Type getComponentType()

toString

public String toString()
Specified by:
toString in class Java.Atom

visit

public final void visit(org.codehaus.janino.Visitor.AtomVisitor visitor)
Specified by:
visit in class Java.Atom

visit

public final void visit(org.codehaus.janino.Visitor.TypeVisitor visitor)
Specified by:
visit in class Java.Type

Web Site