Top Fields Constructors Methods
org.jruby.ir.runtime

public Class IRReturnJump

extends IRJump
implements Unrescuable
Class Inheritance
All Implemented Interfaces
org.jruby.exceptions.Unrescuable
Imports
org.jruby.exceptions.Unrescuable, org.jruby.ir.IRScope, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope

Field Summary

Modifier and TypeField and Description
public final DynamicScope
public final StaticScope
public final Object

Constructor Summary

AccessConstructor and Description
private
IRReturnJump(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv)

Method Summary

Modifier and TypeMethod and Description
public static IRReturnJump
create(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv)

public boolean
public String
toString()

Overrides java.lang.Throwable.toString.

Returns a short description of this throwable.

Inherited from org.jruby.ir.runtime.IRJump:
fillInStackTrace

Field Detail

methodToReturnFromback to summary
public final DynamicScope methodToReturnFrom
returnScopeback to summary
public final StaticScope returnScope
returnValueback to summary
public final Object returnValue

Constructor Detail

IRReturnJumpback to summary
private IRReturnJump(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv)

Method Detail

createback to summary
public static IRReturnJump create(StaticScope returnScope, DynamicScope scopeToReturnFrom, Object rv)
isReturnToScopeback to summary
public boolean isReturnToScope(DynamicScope scope)
toStringback to summary
public String toString()

Overrides java.lang.Throwable.toString.

Doc from java.lang.Throwable.toString.

Returns a short description of this throwable. The result is the concatenation of:

  • the name of the class of this object
  • ": " (a colon and a space)
  • the result of invoking this object's getLocalizedMessage method
If getLocalizedMessage returns null, then just the class name is returned.
Returns:String

a string representation of this throwable.

Annotations
@Override