Package org.codehaus.janino
Class Java.Type
- java.lang.Object
-
- org.codehaus.janino.Java.Located
-
- org.codehaus.janino.Java.Atom
-
- org.codehaus.janino.Java.Type
-
- All Implemented Interfaces:
Java.Locatable
- Direct Known Subclasses:
Java.ArrayType
,Java.BasicType
,Java.ReferenceType
,Java.RvalueMemberType
,Java.SimpleType
- Enclosing class:
- Java
public abstract static class Java.Type extends Java.Atom
Representation of a Java™ type.
-
-
Field Summary
-
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
accept(Visitor.TypeVisitor visitor)
Java.Scope
getEnclosingScope()
void
setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this object and all subordinateJava.Type
objects.Java.Type
toType()
-
Methods inherited from class org.codehaus.janino.Java.Atom
accept, toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toString, toTypeOrCompileException
-
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
-
-
-
-
Constructor Detail
-
Type
protected Type(Location location)
-
-
Method Detail
-
setEnclosingScope
public void setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this object and all subordinateJava.Type
objects.
-
getEnclosingScope
public Java.Scope getEnclosingScope()
-
accept
public abstract void accept(Visitor.TypeVisitor visitor)
-
-