Web Site

org.codehaus.janino
Class Java.Cast

java.lang.Object
  extended byorg.codehaus.janino.Java.Located
      extended byorg.codehaus.janino.Java.Atom
          extended byorg.codehaus.janino.Java.Rvalue
              extended byorg.codehaus.janino.Java.Cast
All Implemented Interfaces:
Java.ArrayInitializerOrRvalue, Java.Locatable
Enclosing class:
Java

public static final class Java.Cast
extends Java.Rvalue


Field Summary
 Java.Type targetType
           
 Java.Rvalue value
           
 
Fields inherited from class org.codehaus.janino.Java.Rvalue
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
 
Constructor Summary
Java.Cast(Location location, Java.Type targetType, Java.Rvalue value)
           
 
Method Summary
 void accept(Visitor.AtomVisitor visitor)
           
 void accept(Visitor.RvalueVisitor visitor)
           
 java.lang.String toString()
           
 
Methods inherited from class org.codehaus.janino.Java.Rvalue
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
 
Methods inherited from class org.codehaus.janino.Java.Atom
toLvalue, toLvalueOrPE, toRvalueOrPE, toType, 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
 

Field Detail

targetType

public final Java.Type targetType

value

public final Java.Rvalue value
Constructor Detail

Java.Cast

public Java.Cast(Location location,
                 Java.Type targetType,
                 Java.Rvalue value)
Method Detail

toString

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

accept

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

accept

public final void accept(Visitor.RvalueVisitor visitor)
Specified by:
accept in class Java.Rvalue

Web Site