org.codehaus.janino
Class Java.ReturnStatement

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.Statement
          extended by org.codehaus.janino.Java.ReturnStatement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Enclosing class:
Java

public static final class Java.ReturnStatement
extends Java.Statement


Field Summary
 Java.Rvalue optionalReturnValue
           
 
Fields inherited from class org.codehaus.janino.Java.Statement
localVariables
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
Java.ReturnStatement(Location location, Java.Rvalue optionalReturnValue)
           
 
Method Summary
 void accept(Visitor.BlockStatementVisitor visitor)
           
 java.lang.String toString()
           
 
Methods inherited from class org.codehaus.janino.Java.Statement
findLocalVariable, getEnclosingScope, setEnclosingScope
 
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
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
 

Field Detail

optionalReturnValue

public final Java.Rvalue optionalReturnValue
Constructor Detail

Java.ReturnStatement

public Java.ReturnStatement(Location location,
                            Java.Rvalue optionalReturnValue)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

accept

public void accept(Visitor.BlockStatementVisitor visitor)


Copyright © 2001-2012. All Rights Reserved.