org.codehaus.janino
Class Java.ArrayType

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

public static final class Java.ArrayType
extends Java.Type

Representation of a Java™ array type (JLS 10.1).


Field Summary
 Java.Type componentType
           
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
Java.ArrayType(Java.Type componentType)
           
 
Method Summary
 void accept(Visitor.AtomVisitor visitor)
           
 void accept(Visitor.TypeVisitor visitor)
           
 void setEnclosingScope(Java.Scope enclosingScope)
          Sets the enclosing scope for this object and all subordinate Java.Type objects.
 java.lang.String toString()
           
 
Methods inherited from class org.codehaus.janino.Java.Type
getEnclosingScope, toType
 
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalue, toLvalueOrPE, toRvalue, toRvalueOrPE, toTypeOrPE
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

componentType

public final Java.Type componentType
Constructor Detail

Java.ArrayType

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

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 java.lang.String toString()
Specified by:
toString in class Java.Atom

accept

public void accept(Visitor.AtomVisitor visitor)
Specified by:
accept in class Java.Atom

accept

public void accept(Visitor.TypeVisitor visitor)
Specified by:
accept in class Java.Type


Copyright © 2001-2012. All Rights Reserved.