Package 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
- Enclosing class:
- Java
public static final class Java.ArrayType extends Java.Type
Representation of a Java™ array type (JLS 10.1).
-
-
Field Summary
Fields Modifier and Type Field Description Java.TypecomponentType-
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor.AtomVisitor visitor)voidaccept(Visitor.TypeVisitor visitor)voidsetEnclosingScope(Java.Scope enclosingScope)Sets the enclosing scope for this object and all subordinateJava.Typeobjects.java.lang.StringtoString()-
Methods inherited from class org.codehaus.janino.Java.Type
getEnclosingScope, toType
-
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileException
-
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
-
-
-
Field Detail
-
componentType
public final Java.Type componentType
-
-
Constructor Detail
-
ArrayType
public ArrayType(Java.Type componentType)
-
-
Method Detail
-
setEnclosingScope
public void setEnclosingScope(Java.Scope enclosingScope)
Description copied from class:Java.TypeSets the enclosing scope for this object and all subordinateJava.Typeobjects.- Overrides:
setEnclosingScopein classJava.Type
-
accept
public void accept(Visitor.AtomVisitor visitor)
-
accept
public void accept(Visitor.TypeVisitor visitor)
-
-