Web Site

org.codehaus.janino
Class Java.Type

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Atom
          extended byorg.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 JavaTM type.


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

Constructor Detail

Java.Type

protected Java.Type(Location location)
Method Detail

setEnclosingScope

public void setEnclosingScope(Java.Scope enclosingScope)
Sets the enclosing scope for this object and all subordinate Java.Type objects.


getEnclosingScope

public Java.Scope getEnclosingScope()

toType

public Java.Type toType()
Overrides:
toType in class Java.Atom

accept

public abstract void accept(Visitor.TypeVisitor visitor)

Web Site