net.janino
Class Java.ReturnStatement

java.lang.Object
  |
  +--net.janino.Java.Statement
        |
        +--net.janino.Java.ReturnStatement
All Implemented Interfaces:
Java.BlockStatement, Java.Locatable, Java.Scope
Enclosing class:
Java

public static class Java.ReturnStatement
extends Java.Statement


Fields inherited from class net.janino.Java.Statement
enclosingScope
 
Constructor Summary
Java.ReturnStatement(Scanner.Location location, Java.Scope enclosingScope, Java.Rvalue returnValue)
           
 
Method Summary
 boolean compile(ClassFile.CodeAttribute codeAttribute)
           
 
Methods inherited from class net.janino.Java.Statement
getEnclosingScope, getLocation, leave, throwCompileException, throwParseException
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java.ReturnStatement

public Java.ReturnStatement(Scanner.Location location,
                            Java.Scope enclosingScope,
                            Java.Rvalue returnValue)
Method Detail

compile

public boolean compile(ClassFile.CodeAttribute codeAttribute)
                throws Java.CompileException
Overrides:
compile in class Java.Statement
Following copied from interface: net.janino.Java.BlockStatement
Returns:
false if this statement cannot complete normally (14.20)